Updated on May 7th, 2022.
This new version does not need the server.json file, and logs in for certificates via web. It is however ARM64, and requires Pi OS 64bit.
Hi!
Have seen a lot of posts about issues with getting the Plexamp headless running on the Raspberry Pi! I have written a bash that does the full installation on a fresh setup of Raspbian OS 64-bit! Only thing you need is the post-login on web, and enabling of the service!
Follow the guide here:
…and let me know any issues/improvements/questions you might have!
Nope, has to be Windows, and it has to be the older version referenced! You can install windows in a virtual box or other hypervisor on your Mac, and then install older version of Plexamp for windows there to get the server.json needed.
Does this work on for example DietPi as well? Not super savvy with Linux, but I know my way around and can follow instructions. I couldn’t manage to install Plexamp myself on DietPi though…
Would love for you to prove me wrong, but have not found any other way to get this file/token! Looked around the file system on my Mac, and it was not there for sure! Thinking it has to be there somehow, but probably not in clear-text/obvious location on the newer versions. If you know of any other ways to extract this from a current version of plexamp, please tell!
Do not know off-hand if dietpi has all the needed drivers, can have a look later today and let you know! Do not like dietpi though, it is too all-in-one/“dumbed-down” for me!
What image do you want me to try? The generic one, or the allo-one?
Ok, try the script now, tested it on DietPi on my Raspberry Pi4, and it worked!
Let me know any findings/improvements you see during install.
Still think DietPi is too all-in-one/“dumbed-down”, and therefor cumbersome to use, since basically “dietpi-config” has to be used for everything, and no standard packages like vim/less/hostnamectl/timedatectl etc. installed from the start!
It’s not clear in this thread how to get a server.json file. The PlexAmp page doesn’t have any source for old versions, so even if I create a VM and run up an illegal copy of Windows, where am I supposed to get PlexAmp 1.1.0 for Windows?
If you go to the first post in this thread, it has a link to github. There you will find the instructions on how to create your own server.json-file, and links to all you need.
You will need either windows or macOS though. Windows has a 30-day grace-period, so not illegal.
Hello odinb1, If I re-run the script to change the device’s name to, for example, its current room location. Will it overwrite the server.json file that I carefully copied from another Plexamp player?
Only if you re-run that part of the script, but since the name is in the server.json, this is the part you want to re-run! Just enter the same key and ID as initially, and enter the new name, and if you do not remember, check/backup the file before running the script.
…or even easier, edit the json-file manually, the name-part, and reboot. Then you do not even have to re-run the script!
A little security tip to possibly include as an option in your installation script: allow to create and run plexamp with a dedicated system user instead of a normal user.
I have tried it, and it works perfectly well.
Create system user, with no shell login. Place “home” dir in /var/lib and add user to audio group.