Skip to content

Tell Home/MiniPod to play radio stream URL #2812

@UKenGB

Description

@UKenGB

Been trying for a while to find out more about this, but no luck, so hoping for some assistance here.

Is it possible to send a URL to a Home/MiniPod and have the device play that URL directly, so supplier of that URL is not AirPlaying anything and now disconnected from the process. The Mini/HomePod would access the URL itself and directly play the stream so in fact no AiRplay involved.

I tried using atvremote with 'stream_file, but didn't like that as not an actual file. I then tried play_url which sounds like the perfect command, but produced many errors I think because it's not a video stream. However, it did then play.

So seems to me it IS possible to just tell a Mini/HomePod to play an audio stream URL, but I've not found the fully correct method.

Can you please help with this and then how could it be done using Home Assistant's Apple TV integration which is based on pyatv and @postlund created (or is involved in) both projects.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions