home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.65k stars 28.82k forks source link

Unable to Play Media via Apple TV #104597

Open TheBlueKingLP opened 7 months ago

TheBlueKingLP commented 7 months ago

The problem

When I use the Home Assistant media player to play a file via an Apple TV player, it is unable to do so and gives the following error in a banner at the bottom left corner of the Home Assistant dashboard. Failed to call service media_player/play_media. RTSP/1.0 method SETUP failed with code 400: Bad Request

What version of Home Assistant Core has the issue?

core-2023.11.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Apple TV

Link to integration documentation on our website

https://www.home-assistant.io/integrations/apple_tv/

Diagnostics information

home-assistant_apple_tv_2023-11-27T08-17-38.002Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Failed to call service media_player/play_media. RTSP/1.0 method SETUP failed with code 400: Bad Request

Additional information

This is a fresh installation created specifically to test this issue.

home-assistant[bot] commented 7 months ago

Hey there @postlund, mind taking a look at this issue as it has been labeled with an integration (apple_tv) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `apple_tv` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign apple_tv` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


apple_tv documentation apple_tv source (message by IssueLinks)

codyc1515 commented 5 months ago

What is the whole call?

TheBlueKingLP commented 5 months ago

What is the whole call?

Sorry, I don't quite get what you mean here. Where can I find "whole call"?

codyc1515 commented 5 months ago

Sorry, I missed the bit about the media player. What content are you trying to play? Is it MP4?

TheBlueKingLP commented 4 months ago

I actually tried multiple formats, for example, mp3, mp4(h264) and flac

issue-triage-workflows[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

TheBlueKingLP commented 1 month ago

The issue is still relevant and still occurs.