mibane
(Mike)
November 6, 2023, 8:19am
27
I used to use Sonos favorites in order to play my favorite radio stations. Now I have switched to Radio Browser for better flexibility. But this also resulted into the same problem:
It is a real pity that I cannot see the station’s name and logo anymore (e.g. in the excellent Sonos Card )!
According to the above mentioned site (thank you @LimboIvo ) it should be possible to add title and thumbnail as metadata just like this:
- service: media_player.play_media
target:
entity_id: media_player.living_room
data:
media_content_id: media-source://radio_browser/96126f56-0601-11e8-ae97-52543be04c81
media_content_type: audio/mpeg
metadata:
title: NPO Radio 1
thumbnail: >-
https://upload.wikimedia.org/wikipedia/commons/thumb/d/da/NPO_Radio_1_logo_2014.svg/640px-NPO_Radio_1_logo_2014.svg.png
media_class: music
In my case, it makes no difference whether I add those metadata or not. Has anyone managed to accomplish this?
Edit: Please also see stale GitHub issue:
opened 07:47PM - 08 Feb 23 UTC
closed 07:05PM - 09 Jul 23 UTC
stale
integration: radio_browser
### The problem
When playing media on any Sonos player via Radio Browser, not e… ntity picture for the mediaplayer entity is loaded. donst matter which radio station is selected, i try a lot :-) If same radio station is played via sonos fav list, also seletected via media browser, a entity picture is loaded and shown. (as i expect)
I also see sometimes this error log (but not always)
192.168.x.x is my sonos player
`Error retrieving proxied image from http://192.168.x.x:1400/getaa?u=x-rincon-mp3radio://http://fhr--di--nacs-ais-lgc--08--cdn.cast.addradio.de/fhr/radiogongfm/live/mp3/128/stream.mp3?_art%3Ddj0yJmlwPTc3LjIzLjIwMS4xMjAmaWQ9aWNzY3hsLWdwNm1xZHhsYiZ0PTE2NTAxODk1NTUmcz03ODY2ZjI5YyNhYjJiNTk1MjdiNGFhOTRmMGFjZDU2ZjEyMDE5YWMwNg&v=38`
### What version of Home Assistant Core has the issue?
2023.2
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Radio Browser
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/radio_browser/
### Diagnostics information
_No response_
### Example YAML snippet
```yaml
service: media_player.play_media
target:
entity_id: media_player.sonos_buro
data:
media_content_id: media-source://radio_browser/da6ee646-266d-11e9-a80b-52543be04c81
media_content_type: audio/mpeg
metadata:
title: Gong FM Regensburg
thumbnail: https://www.gongfm.de/storage/thumbs/192x192/r:1559130023/2860.png
media_class: music
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://radio_browser
- media_content_type: music
media_content_id: media-source://radio_browser/country/DE
```
### Anything in the logs that might be useful for us?
_No response_
### Additional information
_No response_
2 Likes