Webradio stops to play, never resumes

hy!
I post this here, because it affects Volumio and Musicbox (latest Version) on a Raspi B with 256 KB. Yes, if its not supported ok, i mute. But I have the impression that there is another problem than the 256KB Ram, as I recently gave the Raspi 7GB of swap on a HD (it only uses 53KB of it…).

Mopidy if under heavy load just stops to output Audio. And never resumes. Even not after channel change. Even not after hours, when the load is over. Only reboot helps or reinitialization of the sound-card. I couldnt find anything meaningful in the logs about that problem. Webinterface shows the same behaviour, it just stops to load. Gnome Music Player too.

I think maybe it just has a subroutine it quits, when the load is too heavy and never re-checks if it runs, maybe a thread that triggers an exception and never gets restarted?

What kind of degub information can i provide?
Thanks

If this is a problem seen when using with Volumio, Mopidy and Gnome Music Player then the common issue there is Raspbian (and potentially ALSA or Pulseaudio). I don’t think we have the resources to debug this wider problem here, probably better off at https://www.raspberrypi.org/forums/ I am afraid.

But out of interest, how are you reinitialising the soundcard? Perhaps you could try the alternate audio driver (https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=136445)? You don’t mention which soundcard you are using, perhaps try a different one.

i am currently in musicbox.

for example now: i played a stream, worked good, then started gnome music player, now it does not play anomore. webinterface is responsive. when i restart the stream nothing happens, the log shows

2017-06-21 05:29:40,784 - WARNING Found alsamixer configuration errors, the extension has been automatically disabled:
2017-06-21 05:29:40,787 - WARNING alsamixer/control must be set.
2017-06-21 05:29:40,790 - WARNING alsamixer/card must be set.
2017-06-21 05:29:40,793 - WARNING Please fix the extension configuration errors or disable the extensions to silence these messages.
2017-06-21 05:31:09,687 - WARNING Element doesn’t implement handling of this stream. Please file a bug.

after changin audio from usb to auto it restarts audio. the error does not appear anymore. i have a usb soundcard soundblaster play2.

now i have started a stream it does not like, did not play, webinterface returned after some minutes, but other streams dont start anymore.this stream worked before

2017-06-21 06:03:34,715 - WARNING Element doesn’t implement handling of this stream. Please file a bug.
2017-06-21 06:03:35,811 - WARNING Problem looking up http://mp3stream1.apasf.apa.at/listen.pls: Could not determine type of stream.

click on another stream:
2017-06-21 06:05:33,375 - WARNING Element doesn’t implement handling of this stream. Please file a bug.

after some clicking on different streams it started playback. another time it wouldnt restart. when i go to settings it shows audio “usb”, although i set automatic. when i change to usb and save i can start a playback again.

i got it running, i think its that mopidy takes ~70% cpu. if it gets less it stops playing, it resumes after some time after it gets enough cpu again.

i currently got a python script running that consumes ~30% cpu, which makes mopidy stop playing. When I stop that script playback returns. sometimes it takes 15 minutes, sometimes just 20 seconds to resume.

So I assume Mopidy has some kind of queue that can resume…

Also another issue, after some heavy startup sometimes it comes up with

2017-06-25 10:25:03,698 - WARNING Problem looking up http://mp3stream1.apasf.apa.at/listen.pls: Could not determine type of stream.

all the time. It needs many trials until it fires up the music then.

also what I dont get:
2017-06-25 10:33:32,951 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control PCM on card 1. Known mixers on card 1 include: Speaker, Mic
2017-06-25 10:35:41,424 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control PCM on card 1. Known mixers on card 1 include: Speaker, Mic
2017-06-25 10:39:13,573 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control MIXER on card 1. Known mixers on card 1 include: Speaker, Mic
2017-06-25 10:40:43,336 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control ‘Speaker Playback Volume’ on card 1. Known mixers on card 1 include: Speaker, Mic
2017-06-25 10:41:53,141 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control ‘Speaker’ on card 1. Known mixers on card 1 include: Speaker, Mic
2017-06-25 10:44:31,552 - ERROR Mixer (AlsaMixer) initialization error: Could not find ALSA mixer control Master on card 1. Known mixers on card 1 include: Speaker, Mic

but amixer controls:
root@MusicBox:/etc/mopidy# amixer controls
numid=3,iface=MIXER,name='Mic Capture Switch’
numid=4,iface=MIXER,name='Mic Capture Volume’
numid=5,iface=MIXER,name='Speaker Playback Switch’
numid=6,iface=MIXER,name='Speaker Playback Volume’
numid=1,iface=PCM,name='Capture Channel Map’
numid=2,iface=PCM,name=‘Playback Channel Map’

How does that correlate? I cant set control=Speaker, nor can I set control=PCM…