Casting Internet radio in app:Google Chromecast

I am using this app to cast internet radio and it almost never works, but sometimes it actually does, usually in the weekends.

When it doesn’t work I am getting an error on the Then-card that does the casting when I am trying to select a radio station; Unknown_error.

When it does work this doesn’t happend.

The chromecast device that I am casting to does have a fixed IP address.

I have made a diagnostics report:
b8975cf6-a510-4117-8b50-682b7147b63d

Have been using this chromecast card for years, never fails
image

Yes, I also did that, but almost every norwegian radio stations have stopped using TuneIn

I ran into the same problems with radio on Google Cast speakers, so I wrote a small app: Cast Stream.

It plays a direct stream URL (MP3, http/https) on any Google Cast speaker or speaker group as real media, through the speaker’s built-in media player, not as a web page. That also avoids the usual stop after ~10 minutes: in my tests the stream kept playing well past that point.

Flow cards: Play stream (speaker/group, URL, title), Stop playback, and an “is playing” condition that reads the real state from the speaker. Speakers and groups are found automatically, nothing to pair.

Test version: Cast Stream | Homey
Feedback welcome!