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.
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.