Issue with Roon disconnecting from Icecast server when song title is changed (ref#JUBJ8T)

What best describes your playback issue?

· I'm having dropouts

Is there a specific error message you see? If so, please select from the following options:

· Other

Please try to reboot your Roon Server and check to see if this helps.

· Rebooting my Server had no effect, the issue remains

Please try to reboot and unplug/replug in your affected audio device and check to see if this helps.

· Rebooting and unplugging/replugging my audio device, the issue remains

Please open your Roon Remote and select the "System Output" Zone and try to play to it. Do you encounter any playback errors with this Zone?

· Playback *errors for both* my other zone and when I play to System Output as well

Please try fully rebooting your network equipment

· No, I'm still having trouble

An issue with playback on System Output and another zone often indicates a network security problem. *Check your firewall(s)* to ensure that *Roon*, *RoonServer *and *RAATServer* are allowed to properly communicate

· I'm still having problems / This isn't relevant to me

Does the issue happen with local library music, streaming service music, or both?

· Only streaming content while local content works fine

Please select the streaming service(s) with which you're encountering playback problems.

· Live Radio

Streaming errors can sometimes stem from DNS failures. Have you tried changing the assigned DNS server in your router settings?

· I reassigned the DNS server and I'm still having problems

What is the model/manufacturer of the affected audio device(s) and the connection type?

· n/a

Describe the issue

Roon disconnects from Icecast server when song title is changed on the server

Describe your network setup

Icecast, BUTT and Roon running on localhost

Roon logs:

07/12 19:39:11 Info: Alert: Radio: radio_network_error
07/12 19:39:11 Warn: AddTopLevel: win_alert(2653)
07/12 19:39:11 Trace: [platformnowplaying/mac] MPNowPlayingInfoCenter: Connect
07/12 19:39:11 Info: [stats] 405082mb Virtual, 300mb Physical, 184mb Managed

This is repeatable simply by updating the song name. The stream is ogg/flac from broadcast using this tool via ice cast.

A Curl running simultaneously does not stop.

I just tried it on vlc as client. It updates the track name within a second and the stream is uninterrupted.


Here’s a screencast movie converted to animated png which would probably be more useful if it stayed an animated png when uploaded



Here are 2 other frames, showing VLC updated and roon error after the buffer gets to the song change

OK, some more info…
When the song name changes, if I am streaming to ffmpeg, there is no audio disruption, however the following is logged:

[aist#0:0/flac @ 0x12fe04e30] timestamp discontinuity (stream id=0): 80981333, new offset= -80981333
[aist#0:0/flac @ 0x12fe04e30] timestamp discontinuity (stream id=0): -90538666, new offset= 9557333

Hi @Faye_Salwin,
Thanks for writing in to let us know about this issue. To help diagnose the problem please explain the steps you take to have Roon disconnect from your Icecast.

I can add more detail

1 setup Icecast and add a stream mount
Follow the install guide. No special config.

2 setup a stream from BUTT from an audio input (I am using an SPDIF). Use FLAC streaming. Add your icecast server mount to butt and start streaming.

3 add a station to My Live Radio in Roon pointing at your icecast server.

4 start listening.

To break it, simply go to the stream tab in Butt, and update a song name manually or start automatically changing the song name. Every time the name change happens, ffmpeg detects a timestamp discontinuity, but keeps playing without a hiccup. VLC works the same but also shows the new song title, Roon does not show the song titles, and stops the stream with a message about the radio station having stopped broadcasting or changed settings. You can hit play again to continue streaming immediately.

Expected behavior is that Roon continues to stream the music, simply adjusting the timestamp offset so that there is no pause in output just like VLC and Ffmpeg. Nice to have would be displaying the text which was changed on Now Playing.

I expect that the timestamp change happens in order to properly demark the track for folks who are recording.

If you only have Roon clients you can avoid the problem by not updating the track name but this isn’t great for general radio station serving.

Please don’t just ignore this. It’s really annoying to have to restart the stream after every song.
I can get you a capture of the stream surrounding the discontinuity if that will help?

Hi @Faye_Salwin,
I apologize for the long response time. However because your audio chain ends with a rebroadcast we will not be able to help you in the support category. It could get us into legal trouble with our streaming partners even if your rebroadcast is purely for personal use. Try posting in Tinkering other users there can help you without risking legal peril.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.