Skip to main content

I am trying to stream local DVB radio from a tvheadend server to Sonos Roam. The server captures DVB radio and broadcasts via

http://192.168.10.40:9981/stream/channel/7ed927db2960b33668a24fac81d11271?ticket=D20198452EE1CCB2057C6E2304646C0B54CEA081

as (outout from “mpv” player):

>lavf] Found 'mpegts' at score=50 size=2048.
rffmpeg/audio] mp3float: Header missing
rlavf] avformat_find_stream_info() finished after 6392 bytes.
rdemux] Detected file format: mpegts (libavformat)
rcplayer]  (+) Audio --aid=1 --alang=eng (mp3 2ch 48000Hz)
bad] Codec list:
bad]     mp3float (mp3) - MP3 (MPEG audio layer 3)
)ad]     mp3 - MP3 (MPEG audio layer 3)
ad] Opening decoder mp3float
oad] Requesting 1 threads for decoding.
nad] Selected codec: mp3float (MP3 (MPEG audio layer 3))
 

The Sonos App shows animation like when radio is playing but nothing comes out. What is broken?

Similarly, http://live-radio01.mediahubaustralia.com/DJDW/mp3/ does not play when added via TuneIn.

 

Hi @aik 

Thanks for your post!

I’m not really able to help you here, other than to make one point - we typically require an HTTPS connection, rather than a HTTP one. If you can find a way to provide a secure link to your mpv player, that may help. Others in the community may be able to help further, however.

Having said that, I was able to add http://live-radio01.mediahubaustralia.com/DJDW/mp3/ to my own system and it played without issue (which was a surprise, as I am not in Australia, and there is no HTTPS). Are you sure you typed it correctly? If so, maybe there was a temporary outage with the station and it is now resolved - it may be worth trying again. Note: I used the legacy version of the TuneIn service on Sonos to do this.

I hope this helps.


Thanks for the response. http://live-radio01.mediahubaustralia.com/DJDW/mp3/ works now but now I am more confused. The URL did work all the time, I verified with my laptop mediaplayer. What is TuneIn exactly? Is this some external internet service which proxies the radio? If that so then this could explain why tvheadend does not work. Can Sonos play directly from the URL, without any internet service?


TuneIn is an aggregator: it is a database of stations and their urls, and also sometimes injects ads into these streams (I assume by using a playlist to wrap the original url but I’ve never dug that deep).

Direct stream playback on Sonos has nothing to do with TuneIn, despite how it looks in the UX.

The problem with your local stream appears to be because it is mpeg TS, which is an unsupported container type. Re-pckage the mp3 into a supported format: https://docs.sonos.com/docs/supported-audio-formats


The problem with your local stream appears to be because it is mpeg TS, which is an unsupported container type. Re-pckage the mp3 into a supported format: https://docs.sonos.com/docs/supported-audio-formats

Did that as described in https://tvheadend.org/boards/5/topics/22853 , now plays fine. Thanks!