When I run it, my google mini emits a “bip” but doesn’t play the song. Looking on Log I can see that:
2021-04-01 15:26:52 ERROR (Thread-8) [homeassistant.components.cast.media_player] Failed to cast media https://open.spotify.com/track/xxxxx. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
I found out that you can install this HACS integration:
If you leave the original spotify config and then just add the spotcast config it will work.
However I think you need the newest version of HA so please update first .
Same problem here, 3 years later. The google smart speaker emits a short ‘bleep’ but nothing plays, and the log message says the URL isn’t reachable, though it works fine from my browser.
but again I just get a ‘bleep’, no music, and the log says:
Failed to cast media https://www.youtube.com/watch?v=dQw4w9WgXcQ. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address