MPD icon indicating copy to clipboard operation
MPD copied to clipboard

How to auto start music playing when a least one client is connected?

Open waldhef opened this issue 1 year ago • 2 comments

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.

waldhef avatar Sep 01 '24 07:09 waldhef

No, this feature does not exist currently. But since it's open source, you can implement it (and submit a PR).

MaxKellermann avatar Sep 01 '24 10:09 MaxKellermann

Auto-resume does work with pulseaudio outputs, including remote network outputs.

jgregoire avatar Jan 27 '25 22:01 jgregoire