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