Resume play after network fail

Hi,

it’s possible to resume play after network fail?

I have a web radio and i really desire to auto resume play after a network fail.

I made a little script (test ping of server and if ping fail execute mpc play) and a cronjob execute every X minute but it’s a bad solution for different reasons.
For example, if the cronjob start same time of the network is resume the audio is not always restarts because my script execute mpc play early.

Can you help me?

Sorry for my bad English.

Thank you

Alex

I think this would be something to be fixed in Mopidy. Moved to that category

https://github.com/mopidy/mopidy/issues/720 is already open to track the same feature request. mpdwatchdog mentioned there might also work for this.