Autoplay on http stream connect

General Discussion about MPD – anything that doesn't fit in the other MPD forums.
Post Reply
phippo
Posts: 1
Joined: January 17th, 2020, 1:32 pm

Autoplay on http stream connect

Post by phippo »

Is there any way to get MPD to start playing when a shoutcast client connects via an http stream. I'm on Debian 10 with systemd and I know I can do this with a socket thingy on the control port but I want to use the connection from a stream player to an existing MPD that is paused to start playing. Bonus points for getting it to jump to next track at the same time.

I used to use a hacky script called by the libwrap scripts but libwrap has gone from MPD now. I'm not asking for it to go back but I miss the functionality.

Post Reply