05-20-2018, 11:35 PM
(05-20-2018, 07:45 AM)Boardman Wrote: Hm, no Idear what is going wron, using CLK it worked one time, but yesterday and today it did not...
is ther one specific situation where mpd is switching to silence... ?
what does the error mean?
May 20 09:38 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:38 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:38 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:39 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:40 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:40 : player: Decoder is too slow; playing silence to avoid xrun
May 20 09:40 : player: played "http://hr-hr3-live.cast.addradio.de/hr/hr3/live/mp3/128/stream.mp3"
Hi, Uwe.
This error message can be found in the compiled mpd binary. It's not in the MPD repo master branch. I had to roll back to v0.20.19 (the current release. actually) to find it in src/player/Thread.cxx. It's preceded by the comment
Code:
/* the decoder is too busy and hasn't provided
new PCM data in time: send silence (if the
output pipe is empty) */
Wasn't that informative
What this doesn't tell us is what to do about it.
A commit was made to the MPD repo on January 2 which removed the subject bit of code with the git comment
Code:
The output plugin shall decide whether to insert silence or do nothing
at all. The ALSA output plugin has already implemented this.
Inserting silence is not necessary or helpful for some plugins, and
may even hurt them (e.g. "recorder").
We can only hope this means that the latest combination of MPD and ALSA falls over in a more sensible way when the triggering condition occurs.
I haven't seen the error in limited testing here. Is the URL at the end of your listing the station which was supposed to start playing when the clock radio setting is met? Does the silence occur with any other URLs?
Regards,
Kent