11-10-2023, 12:35 PM
@Tim Curtis in the streams I uploaded there are 3 that I had problem with.
This is old issue with specific streams, that after song is changing in the stream, MPD stops playing and logging "Decoder is too slow; playing silence to avoid xrun".
Those streams are:
JB Radio2 (FLAC) with metadata https://maggie.torontocast.com:8076/flac
BDPST ROCK Radio (FLAC) https://s2.audiostream.hu/bdpstrock_FLAC
Radio Calico (FLAC) https://radio3.radio-calico.com:8443/calico
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 modified original mpd-watchdog lines like that:
35c35
< INTERVAL=10
---
> INTERVAL=1
90c90,92
< $MPC status 2>/dev/null | grep -B1 '^\[playing\]' | tr '\n' ' '
---
> # $MPC status 2>/dev/null | grep -B1 '^\[playing\]' | tr '\n' ' '
> tail -n 1 /var/log/mpd/log |grep -E "playing silence to avoid xrun"
>
136c138
< log warning "restarting mpd"
---
> log warning "xrun error - restarting mpd"
This is old issue with specific streams, that after song is changing in the stream, MPD stops playing and logging "Decoder is too slow; playing silence to avoid xrun".
Those streams are:
JB Radio2 (FLAC) with metadata https://maggie.torontocast.com:8076/flac
BDPST ROCK Radio (FLAC) https://s2.audiostream.hu/bdpstrock_FLAC
Radio Calico (FLAC) https://radio3.radio-calico.com:8443/calico
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 modified original mpd-watchdog lines like that:
35c35
< INTERVAL=10
---
> INTERVAL=1
90c90,92
< $MPC status 2>/dev/null | grep -B1 '^\[playing\]' | tr '\n' ' '
---
> # $MPC status 2>/dev/null | grep -B1 '^\[playing\]' | tr '\n' ' '
> tail -n 1 /var/log/mpd/log |grep -E "playing silence to avoid xrun"
>
136c138
< log warning "restarting mpd"
---
> log warning "xrun error - restarting mpd"
----
Cheers!
Marek.Marakesh
Internet HiFi Radio streams enthusiast:
- RPi 3B+ with HiFiBerry Digi2-Pro
- RPi 3B+ with HiFiBerry Amp2
Cheers!
Marek.Marakesh
Internet HiFi Radio streams enthusiast:
- RPi 3B+ with HiFiBerry Digi2-Pro
- RPi 3B+ with HiFiBerry Amp2