MPD
MPD copied to clipboard
How to auto start music playing when a least one client is connected?
Feature request
Hello,
I'am using httpd audio_output to stream my music in my local network.
Now I want to achieve that the music begins to play when at least on client is connected and stops playing when there are no clients connected.
I tried to set log_level to verbose in order to see something like "client connected" or "client disconnected" but there is not such a message.
Is there an other way how I can trigger mpc play and mpc stop?
Thanks in advance.
No, this feature does not exist currently. But since it's open source, you can implement it (and submit a PR).
Auto-resume does work with pulseaudio outputs, including remote network outputs.