timolex / Radiodawg

Radiodawg Volumio webradio watchdog
MIT License
1 stars 1 forks source link

introduce playback status check incl. constant #5

Closed timolex closed 3 years ago

timolex commented 3 years ago

Introducing a constant CONSIDER_PLAYBACK_STATUS (set True per default), the script will only resume playback of webstreams if Volumio had been in a playback state before the connection drop-out.

Setting the constant to False will "aggressively" start streaming if there is e.g. a webradio at the current playlist's head as soon as the default DNS becomes reachable again.