I don’t have a rPi, but I do have a mini server running close to my stereo, which i can connect over USB.
I searched this forum for a docker or bare x86 build I could run, but all I found were older questions along for the 3.x version, to which @elan seemed positive about providing the headless version beyond ARM.
Never mind the docker image, we can figure it out. Is an x86 (or more likely amd64) Linux build still planned?
I currently have 5 intel nuc’s connected to a multi-channel audio amplifier in my house and not being able to stream plex audio to them is a major sore point in my current setup. What’s specifically preventing the new plexamp rpi code from running on a x64 system? I haven’t delved into the new version yet but seeing others getting headless running on the pi has me pumped to try and figure out a solution for x64.
In most/all cases (perhaps present pandemic supply-chain weirdness aside), ARM64 is a much cheaper platform for these sort of multi-zone setups, hence why we’ve decided to concentrate on them first.
I’ve pulled down the files for 4.2.2 was unfortunately once again greeted with the mess that is minified and obfuscated nodejs code plus some compiled aarch64 libraries. I have a few ideas I’m going to try though to see if I can get a working x64 version going on linux, docker + qemu is your friend in cases like this
Any particular reason not to open-source or at least document the audio streaming / control protocol used by plex between server and clients?
@rockpilp - and for anyone else watching / looking - I’ve put together a docker container and instructions how to get the pi PlexAmp working on Ubuntu 20.04 for amd64. It should definitely be do-able for other distributions as well with minimal changes required. The instructions are on gitlab here: Ed McLain / PlexAmp Headless x64 · GitLab
Let me know if you have any questions and/or if it works for you!
The native build is MUCH faster and more stable and the qemu static version. I’m planning to update the docker deployment linked above soon and I also have an ansible playbook put together for any debian based OS if anyone has interest in that.
Thank you for the detailed Ubuntu instructions. I set it up on Proxmox (a Debian-based dedicated qemu distribution).
I wanted to use Docker, but my Docker VM uses flatcar, which doesn’t have any audio support. I’ll see if I can run it in an LXC container instead of bare metal.
I’m working on some newer docker builds as well that are arm/arm64/x64. Hoping to have that repo out soon. It should be possible to do what you are wanting using the pulseaudio raop output to an airplay device. Just have no idea if there is a way to set that as a default in the config.
Are you trying to stream to an appletv or an older airplay 1 based device?
In my case it would be an older airplay v1 device.
I started doing some tests running the binary in Docker but it could prove difficult to make it work with airplay indeed.
I will keep an eye on your work, and will do some research regarding pulseaudio as well