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.72k stars 28.87k forks source link

Mediaplayer hangs in combination with HomePod mini #119045

Open mslsystems opened 3 weeks ago

mslsystems commented 3 weeks ago

The problem

Hello community,

i'm having a problem while playing an audio stream on my Homepod mini. I added the device with the apple_tv integration which was working fine.

When i am starting an playback with an online audio stream on my homepod, the automation hangs at this step. It never finishes maybe because of waitining to finish the playback. This happens when using the service "media_player.play_media" while an automation or a script. If i stop the playback manually (e.g. from Lovelace) it finishes the automation.

Is there a chance to change this behavior?

What version of Home Assistant Core has the issue?

core-2024.4.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

apple_tv

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

service: media_player.play_media
metadata: {}
data:
  media_content_id: http://wdr-wdr5-live.icecast.wdr.de/wdr/wdr5/live/mp3/128/stream.mp3
  media_content_type: music
  enqueue: play
target:
  entity_id: media_player.arbeitszimmer
enabled: true

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 weeks 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)