SONOS and Radio Browser

Hello!

I tried to integrate Radio Browser for my SONOS Dashboard.

I followed this video (minute 10): https://www.youtube.com/watch?v=ksBxcRgPo_M.

My card is not showing the picture of the station and not showing any reaction when tapping on it.

type: custom:button-card
entity: media_player.ankleide
tap_action:
  action: media_player.play_media
  target:
    entity_id: media_player.ankleide
  data:
    media_content_id: media-source://radio_browser/7881d719-bae9-407d-912c-f75174c43403
    enqueue: replace
    media_content_type: music
entitiy_picture: /local/radio/EastCoastRadio.png
show_entity_picture: true
name: EastCoastRadio
show_name: true

I followed the same guide and had the same issue - but I got it working in the end. Try this - I just copied my working code and updated to your elements:


type: custom:button-card
entity: media_player.ankleide
name: EastCoastRadio
show_name: true
show_entity_picture: true
entity_picture: /local/radio/EastCoastRadio.png
tap_action:
  action: call-service
  service: media_player.play_media
  target:
    entity_id: media_player.ankleide
  data:
    media_content_id: media-source://7881d719-bae9-407d-912c-f75174c43403
    media_content_type: music
    enqueue: replace

For the missing image, check you uploaded it to the correct directory and have the correct name/extension. Capitalisation matters in linux systems.

Oh, thanks a lot. Very kind.
The pic is showing now.
Unfortunately I get this error:

I guess that 10.100.5.133 is the master.

I just tried the same station and got the same error - I even went and double checked radiobrowser.info and we have our answer:

Streaming server info

|Server url|https://live.ecr.co.za/|
|Error|No server info available: ResultDecodeError|

so it’s not you, it’s them. Maybe see if there’s an alternate listing?

Thank you very much for that. Much appreciated.
I tried another station: and it worked. I will write to EastCoastRadio.
Further question. How can I rename the playing stream and display the logo of the radio station?