I’m running Plexamp headless on two different systems: a Raspberry Pi running Manjaro using ALSA directly with a BossDac Hat, and a Ryzen desktop running Ubuntu using PulseAudio and a USB DAC. On both I get an issue that’s made Plexamp an unsustainable streaming solution: it does not release the audio device after playback or disconnecting. The only way to release the audio device so that something else can be played is to stop the plexamp service. The Pi running ALSA directly offers more information beyond a ‘running’ or ‘closed’ device status:
This is the reported state of the sound device when playback has finished on the Pi. On the desktop, the status will simply remain at ‘running’. Obviously this means that I cannot use plexamp as a background service on my Desktop, or stream from Spotify or DLNA on the Pi with such an issue.
Note: The appimage version does not have this issue on Desktop.
Tested on my Pi and I can confirm that the beta resolves the issue. The DAC is released after 14-15 seconds. Any chance of making that more like 4-5 seconds?
I also noted that my other annoyance appears to be solved, that being the play/pause remote control.
Off topic, but seeing as I have your attention; is there any technical or legal reason that Plexamp can’t play to a UPnP media renderer such as upmpdcli (as used by the likes of Volumino)?
Sorry, trying to draw a balance between casual pausing and a longer pause, given that with some hardware, starting/stopping audio h/w can have audibles associated with it.
Only because UPnP sucks, and we’d prefer to focus on a home solution around headless Plexamp