Would you be interested to use it to include as update to next release?
Attached is backup of all streams from last release 8.3.6 with updated streams and thumbs to my custom streams only.
Could not upload full backup as logos are heavy making zip 37MiB big.
----
Cheers!
Marek.Marakesh
Internet HiFi Radio streams enthusiast:
- RPi 3B+ with HiFiBerry Digi2-Pro
- RPi 3B+ with HiFiBerry Amp2
I overcome this issue deploying mpd-watchdog in the way described here by JackRichardson with slight modification for moode: https://discourse.mopidy.com/t/radio-doe...hdog/424/6
If someone is interested I can share my config.
I overcome this issue deploying mpd-watchdog in the way described here by JackRichardson with slight modification for moode: https://discourse.mopidy.com/t/radio-doe...hdog/424/6
If someone is interested I can share my config.
@the_bertrum mentioned something similar in another thread and IIRC he also implemented a watchdog type script that looked for a particular MPD log message and then performed a stop/play sequence to "restart" the stream and hopefully achieve smooth, uninterrupted playback.
The challenge with this type of approach is that it's not really a good, universal workaround since the underlying issue has to do with the continuity of the stream itself. Unstable streams are usually due to broadcaster bandwidth or streaming server issues but sometimes can be due to poor Internet connection at the receiving side i.e., residential Internet gateway/Router. Regardless of which side the player just sees interruptions in stream data that eventually reach unrecoverable levels.
For example on my end the station BDPST ROCK Radio (FLAC) quickly starts stuttering and never recovers from stream starvation. No amount of MPD stop/play sequences results in a smooth, uninterrupted stream. The log has tons of run messages.
I overcome this issue deploying mpd-watchdog in the way described here by JackRichardson with slight modification for moode: https://discourse.mopidy.com/t/radio-doe...hdog/424/6
If someone is interested I can share my config.
@the_bertrum mentioned something similar in another thread and IIRC he also implemented a watchdog type script that looked for a particular MPD log message and then performed a stop/play sequence to "restart" the stream and hopefully achieve smooth, uninterrupted playback.
The challenge with this type of approach is that it's not really a good, universal workaround since the underlying issue has to do with the continuity of the stream itself. Unstable streams are usually due to broadcaster bandwidth or streaming server issues but sometimes can be due to poor Internet connection at the receiving side i.e., residential Internet gateway/Router. Regardless of which side the player just sees interruptions in stream data that eventually reach unrecoverable levels.
For example on my end the station BDPST ROCK Radio (FLAC) quickly starts stuttering and never recovers from stream starvation. No amount of MPD stop/play sequences results in a smooth, uninterrupted stream. The log has tons of run messages.
True, this kind of solution is "not really a good, universal workaround since the underlying issue has to do with the continuity of the stream itself".
That is why I just shared my solution, which may be applied by anyone interested, if needed. This is not a perfect solution to include in any stable release of course.
Mentioned solution with stop/start I was experimenting not always worked for me, as those unstable streams sometimes causes exceptions in MPD which it cannot recover by simply stopping/starting player. Only solution satisfying me (accepting this 1-2 sec. drop in the sound) is just to restart MPD. Then it simply recovers from the exception.
I had few cases experimenting with the streams that hang my moode completely and I had to do hard restart.
Since I have this workaround in place, it never happened again ;-)
----
Cheers!
Marek.Marakesh
Internet HiFi Radio streams enthusiast:
- RPi 3B+ with HiFiBerry Digi2-Pro
- RPi 3B+ with HiFiBerry Amp2
I overcome this issue deploying mpd-watchdog in the way described here by JackRichardson with slight modification for moode: https://discourse.mopidy.com/t/radio-doe...hdog/424/6
If someone is interested I can share my config.
@the_bertrum mentioned something similar in another thread and IIRC he also implemented a watchdog type script that looked for a particular MPD log message and then performed a stop/play sequence to "restart" the stream and hopefully achieve smooth, uninterrupted playback.
The challenge with this type of approach is that it's not really a good, universal workaround since the underlying issue has to do with the continuity of the stream itself. Unstable streams are usually due to broadcaster bandwidth or streaming server issues but sometimes can be due to poor Internet connection at the receiving side i.e., residential Internet gateway/Router. Regardless of which side the player just sees interruptions in stream data that eventually reach unrecoverable levels.
For example on my end the station BDPST ROCK Radio (FLAC) quickly starts stuttering and never recovers from stream starvation. No amount of MPD stop/play sequences results in a smooth, uninterrupted stream. The log has tons of run messages.
True, this kind of solution is "not really a good, universal workaround since the underlying issue has to do with the continuity of the stream itself".
That is why I just shared my solution, which may be applied by anyone interested, if needed. This is not a perfect solution to include in any stable release of course.
Mentioned solution with stop/start I was experimenting not always worked for me, as those unstable streams sometimes causes exceptions in MPD which it cannot recover by simply stopping/starting player. Only solution satisfying me (accepting this 1-2 sec. drop in the sound) is just to restart MPD. Then it simply recovers from the exception.
I had few cases experimenting with the streams that hang my moode completely and I had to do hard restart.
Since I have this workaround in place, it never happened again ;-)
Good point.
Have you considered putting the mpd-watchdog in a Git repo with an Open Source license like GPLv3 or MIT?
You could also add an installer script so people that find the workaround useful can easily install (or remove it).
Also devs might contrib suggestions for enhancing it.