Page 1 of 1

Stop Playing if no one Connected

Posted: January 10th, 2021, 1:20 pm
by MyLive1979
Hello @ all,

i have i think a simple request, but i don't know what todo.
I like to stop playing, if no one is connected to the mpd.

Is there any possibility to do this ?
If not, is there any plugin ?

Best regards and thanks a lot,
René

Re: Stop Playing if no one Connected

Posted: January 10th, 2021, 3:46 pm
by max
MPD has no code to do that. And since MPD is designed as a backend server, it's a good use case to keep playing even if no client is connected - for example, I open ncmpc only if I want to change something, but most of the time, my MPD has no client at all.

Re: Stop Playing if no one Connected

Posted: January 12th, 2021, 7:30 am
by MyLive1979
Hello Max,

thanks for the Input. But i like to continue the Music where i leave the Stream.
Is there any option to Implement this ?

Best regards,
René

Re: Stop Playing if no one Connected

Posted: January 12th, 2021, 9:29 am
by max
What stream?
Of course, anything can be implemented. It's open source, after all!