Media Browser Source: NetRadio

Hi there

I added a new media browser source to support Net radios (web mp3 radio streams) as a source, and through automations. Also added a cool Lovelace custom card for good measure. Try it out!

Check it out here: https://github.com/giachello/netradio

1 Like

Great work.
Is there a way for M3U support? (radio-browser.info)

1 Like

That is a great idea. Was just thinking how to simplify the configuration of this. do you know if there is a python library that parses m3u files?

Thanks Giovanni, This was exactly what I was looking for and very simple to follow your instructions and works well on my Google Assistant speakers and chrome cast. I also have a Sonos speaker but in the media browser when I select the sonos as the player the option to use NetRadio disappears. Also using the Sonos in a script with NetRadio also fails.

I don’t have Sonos so hard for me to debug this issue. would be great if you could share the debug logs.

Thanks for the reply. the log showed the following error: Logger: homeassistant.components.sonos.media_player
Source: components/sonos/media_player.py:569
Integration: Sonos (documentation, issues)
First occurred: 11:53:21 AM (1 occurrences)
Last logged: 11:53:21 AM

Sonos does not support a media type of “audio/mpeg”

Im pretty new to Home Assistant so have not got into the debugging in a big way so hopefully this will be useful information. this error was generated from essentially your script suggestion. it does not cover off the behavior in the media browser where if I select the sonos the netradio option does not show.

thanks