Radio skill audio drops out

I have had frequent experiences with the Mycroft Radio skill wherein I’ll be streaming a station fine, then ask Mycroft to change the station, and suddenly audio stops. The screen updates to show a new station but there is no longer any audio. When I try to switch to a new skill (ex: “Hey Mycroft, whats the weather?”) the screen changes to show me the weather but I don’t get any audio. Additionally, the screen stays on the weather display and never returns to the radio.

I’m happy to provide any files off the system that are helpful in debugging this scenario.

1 Like

The next time this happens, if you could grab some logs like so and post them or send them along to us that would be very helpful.

journalctl --since=9:00 -u 'dinkum*' > logs.txt

There is a bit more info here.

1 Like

Here is the journal output, messages of note are on the 11th. I had to rename the file to jpeg but should be accessible if you change it back to .txt. I see errors about the codec vorb. The forum won’t let me upload a text, Here is more of the file mycroft-radio-failure - Pastebin.com

Nov 11 18:42:37 localhost.localdomain python[969]: [0000007f88004dc0] main decoder error: cannot continue streaming due to errors with codec vorb
Nov 11 18:42:41 localhost.localdomain python[969]: [0000007f8c0031e0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
Nov 11 18:42:41 localhost.localdomain python[969]: [0000007f8803b240] main decoder error: cannot continue streaming due to errors with codec vorb
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Downloading remote settings
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/setting HTTP/1.1" 304 0
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/location HTTP/1.1" 304 0
Nov 11 18:42:55 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Scheduled download of remote config in 60 second(s)
Nov 11 18:42:57 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:42:57 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/skill/settings HTTP/1.1" 304 0
Nov 11 18:42:57 localhost.localdomain python[548]: DEBUG:mycroft.util.log:No skill settings changes since last download
Nov 11 18:42:57 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Scheduling settings download in 60 second(s)
Nov 11 18:43:00 localhost.localdomain startx[582]: Invalid skill_id in mycroft.session.set: "homescreen.mark2.mark_ii_idle.qml"
Nov 11 18:43:08 localhost.localdomain python[969]: [0000007f8c0031e0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
Nov 11 18:43:08 localhost.localdomain python[969]: [0000007f88050e80] main decoder error: cannot continue streaming due to errors with codec vorb
Nov 11 18:43:19 localhost.localdomain python[969]: [0000007f8c0031e0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
Nov 11 18:43:19 localhost.localdomain python[969]: [0000007f88004dc0] main decoder error: cannot continue streaming due to errors with codec vorb
Nov 11 18:43:34 localhost.localdomain python[969]: [0000007f8c0031e0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
Nov 11 18:43:34 localhost.localdomain python[969]: [0000007f8803b240] main decoder error: cannot continue streaming due to errors with codec vorb
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Downloading remote settings
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/setting HTTP/1.1" 304 0
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/location HTTP/1.1" 304 0
Nov 11 18:43:55 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Scheduled download of remote config in 60 second(s)
Nov 11 18:43:57 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.mycroft.ai:443
Nov 11 18:43:57 localhost.localdomain python[548]: DEBUG:urllib3.connectionpool:https://api.mycroft.ai:443 "GET /v1/device/f4b2cfb6-d195-44a7-90f6-9f808009e934/skill/settings HTTP/1.1" 304 0
Nov 11 18:43:57 localhost.localdomain python[548]: DEBUG:mycroft.util.log:No skill settings changes since last download
Nov 11 18:43:57 localhost.localdomain python[548]: DEBUG:mycroft.util.log:Scheduling settings download in 60 second(s)
Nov 11 18:44:00 localhost.localdomain startx[582]: Invalid skill_id in mycroft.session.set: "homescreen.mark2.mark_ii_idle.qml"

2 Likes

Is it happening with a particular station or channel/genre? I can’t see the station URL that it is trying to open in these snippets. That may be good to know as we look into this. If you look earlier in the logs (assuming it is still there), then it should show the radio skill trying to open the stream.

If/when it happens again, please make note of the channel/genre, the station name, and, if you can, the actual URL of the station.

1 Like

OK, some more details. I was streaming WUVT on the College channel for at least 10 minutes and then audio stopped playing. I issues a command to change the station which appeared to be recognized since the display updated to another station, but no audio played. Here is a link to the logs around the time of the drop.

Looks like the URL is http://engine.wuvt.vt.edu:8000/wuvt.ogg

1 Like

I have the same problem. Mycroft audio stops playing after a while but is still streaming. Sometimes it’s an hour and sometimes its a couple of hours. I unplug and plug back in and the audio will work.

Been like this for a couple of weeks. Mycroft is on V21.2.1

Okay I finally figured out how to SSH into Mycroft (I’m a Windows user) and now pull the logs so that when the audio stops again I can post the messages.

1 Like

is this the issue ?? ALSA lib pcm ??

Also see https://community.openconversational.ai/t/mkii-dinkum-radio-skill-logging-issue-causing-audio-quit-after-1-5-hours/13330