I have a JBL Link Music that I have been using as a radio for a while.
A toggle helper starts to play a radio-station that is preselected from radio-browser. It has been working well for quite a while but has stopped working since maybe a month back.
And when I say stopped working I mean that the streaming part is functioning but the speaker is muted. If I press the “google button” on top of the speaker the audio plays without issue until about 15 minutes when it mutes again.
If I cast to the speaker with any other application (i.e pocket casts, webbrowser etc) it works without issue.
alias: Hundvakt PÅ
description: ""
triggers:
- entity_id:
- input_boolean.hundvakt
to: "on"
trigger: state
conditions: []
actions:
- target:
entity_id: media_player.kok
data:
media_content_id: media-source://radio_browser/7800c880-6618-49ac-a6f8-5cac3498fe04
media_content_type: audio/mpeg
metadata:
title: SR P4 Kronoberg
thumbnail: https://sverigesradio.se/dist/favicon-32x32.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/SE
action: media_player.play_media
mode: single
I have also implemented the same automation in node-red with the same issue (using the actions for media-player) if I use the node from node-red-contrib-cast it works well.
What is media_player doing?
The logs doesnt show anyting useful as far as I can tell.