I installed MPD on home assistant but I can’t figure out how to get the radio station stream that I can see playing in it to output to my sonos speakers. I was really just trying to get an online mp3 stream radio station to play through an automation. I can get local mp3’s to play fine using an automation like this…
data:
media_content_type: music
media_content_id: http://10.0.150.101:8123/local/audio/kitchen_smoke_alarm.mp3
target:
entity_id:
- media_player.kitchen
- media_player.bedroom
- media_player.living_room
- media_player.laundry_room
action: media_player.play_media
but if I try to use an online radio streaming url like this https://nwm-live.streamguys1.com/kcvo-mp3 in the same automation, it gives an error: Error calling SonosMediaPlayerEntity._play_media on media_player.bedroom: UPnP Error 714 received: Illegal MIME-Type from 10.0.150.114. that url works fine just putting in a browser, plays right away.
so then I installed MPD add-on and integration and can see that stream playing there, but can’t figure out how to get the sound out of it to sonos. I feel like I’m missing something stupid.
I guess if music assistant recognized MPD as a music provider, it would probably work too, but I don’t see it.