I’ve made an automation to playback internet radio, based on an input select, on my Chomecast Ultra. This works great, except FLAC radio stations go quiet after about two seconds of playback, while continuing playing (the progress bar continues on screen). Internet radio using MP3 or AAC streams works fine.
Here’s an example:
service: media_player.play_media target: entity_id: media_player.castmymusic data: media_content_type: music media_content_id: http://stream.radioparadise.com/rock-flac
I would accept this as a limitation of the ‘Default Media Receiver’ were it not for the fact that if I open the stream on my pc in VLC, and ‘render’ (cast) it on my Chromecast from there, the stream works fine (also with ‘Default Media Receiver’ as app). In HA the source URL is in that case shown as ‘mylocalpcIP:port/stream’, so the stream is forwarded. Also FLAC is supported by the Chromecast.
Is there a setting to enable FLAC casting to the Default Media Receiver from HA, so it’ll work like VLC?
Here I see mention of FLAC casting, but only about local URLs: Google Cast - Home Assistant