Plexamp headless x86 build

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?

1 Like

not currently.

Thanks for taking the time to man the forums Elan

1 Like

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.

Nothing other than time and focus.

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.

Understood…

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 :slight_smile:

Any particular reason not to open-source or at least document the audio streaming / control protocol used by plex between server and clients?

Plexamp has never been open source. The remote control protocol is the same one which has existed for years for all Plex apps.

@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!

Ed

2 Likes

You’re an ingenious basterd.

1 Like

For some reason, I didn’t get notifications for this topic and only found out with Elan’s new version post (for which I did get notified).

This is amazing, thank you!

I made a weak attempt with qemu-static, but didn’t get very far. I’m glad you were more determined.

@zonywhoop 's efforts convinced me to just offer it on x64 :joy:

6 Likes

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.

3 Likes

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.

Great work @zonywhoop !

Would love to see the release of a native x64 build @elan :wink:

The ability to run it on a NAS and output audio to an AirPlay speaker/Chromecast audio would make me attain nirvana.

It’s literally in there with ARMv7 and ARM64 already!

1 Like

Oh really? Did I miss something/is it official?

Here is what I see under the headless section on plexamp.com :

It’s all very fruity!

Indeed, but it’s a universal build (arm + amd64).

That’s awesome, thank you all

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?

1 Like

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 :slightly_smiling_face: