I’ve searched and found posts related to older Plexamp versions with this capability, but the info doesn’t seem applicable to the latest versions of Plexamp headless.
My use case: I have a special-purpose app (on another RPi) that requires an MP3 stream over http. Previously, I used Mopidy and Icecast to make this work. But since there is currently no way to link Mopidy to my Plex music library, I had to settle for manually managing/controlling things in Mopidy.
Does the latest Plexamp still use MPD? If yes, is there a trick to exposing configuration via mpd.conf to pipe output to somewhere other than an audio device (ie, in my case, an icecast mount)?
I run FPP to drive my music-sync’ed holiday light show. FPP broadcasts music over a small FM transmitter (so visitors parked out front of the house can see the show and listen to the music from their car radios).
I use an FPP plug-in called ‘After Hours Music’ to play ‘intermission’ music when the light show is not actively playing. The plug-in accepts HTTP URL streams (eg, to play Christmas music from a public music stream).
Rather than just playing from public internet radio, I’d like to play from my own music library and intermix songs with recorded announcement (eg, “The show plays from dusk to 11pm nightly on the hour”, “Keep your volume down so you don’t disturb my neighbors”, etc).
I also automate everything with HomeAssistant.
It works well enough with Mopidy and Icecast, but it requires managing a separate playlist and interface from HA to Mopidy to control things.
So… to simplify, I was hoping to use Plexamp headless → “something magical” → Icecast → FPP.
The good news is… I think I may have found a way to use an Alsa Loopback device on the RPi as the Plexamp output to MPD → Icecast.
So… it worked. I used the Alsa loopback plugin and set Plexamp to play to the capture device. Instead of MPD, I found an old-but-reliable Darkice to use as the ‘something magical’ between Plexamp and Icecast. It works great.