Stop Playing if no one Connected

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
MyLive1979
Posts: 2
Joined: January 10th, 2021, 1:19 pm

Stop Playing if no one Connected

Post 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é
max
Forum team
Posts: 1246
Joined: January 15th, 2013, 3:43 pm

Re: Stop Playing if no one Connected

Post 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.
MyLive1979
Posts: 2
Joined: January 10th, 2021, 1:19 pm

Re: Stop Playing if no one Connected

Post 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é
max
Forum team
Posts: 1246
Joined: January 15th, 2013, 3:43 pm

Re: Stop Playing if no one Connected

Post by max »

What stream?
Of course, anything can be implemented. It's open source, after all!
Post Reply