Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify Music Playing on Apple HomePod randomly stops the output of the speaker, everything looks normal as if It is playing #3490

Open
1 task done
clintebbesen opened this issue Jan 22, 2025 · 1 comment

Comments

@clintebbesen
Copy link

What version of Music Assistant has the issue?

2.3.6

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

  • Yes

The problem

After a random amount of time (sometimes 30 minutes, sometimes 5 hours, other times it can play all day long without issue) the HomePod stops playing the music. Everything appears normal as if it is still playing. In Home assistant the media card still shows I playing, the progress bar still moves across, it changes to the next song, from HA it looks like normal as if it is still playing, I just cant hear anything from the speaker.

When this happens I just tap any of my buttons to trigger scripts to play a playlist on that speaker, and immediately it starts audibly playing the playlist I tapped on. pausing and resuming playback doesnt fix it, but calling a script does do it. for reference one of my scripts are below that I use for initiating playback: it just sets shuffle and repeat to on, then plays a Spotify playlist to homepod. I also have below the states of the HomePod entities. I was hoping when playback stopped on the speaker I could see something different with an entity and have that trigger restarting the playlist to get Audio playing again, but from what I can see everything looks 100% normal. The first 3 rows are while it has faulted and I cant hear any audio, second is after starting the playlist again. both look the same to me.

sequence:

  • action: media_player.shuffle_set
    metadata: {}
    data:
    shuffle: true
    target:
    entity_id: media_player.music_assistant_lounge_homepod_airplay
  • action: media_player.repeat_set
    metadata: {}
    data:
    repeat: all
    target:
    entity_id: media_player.music_assistant_lounge_homepod_airplay
  • action: media_player.play_media
    metadata:
    title: Chill Mix
    thumbnail: null
    media_class: playlist
    children_media_class: track
    navigateIds:
    - {}
    - media_content_type: music_assistant
    media_content_id: playlists
    - media_content_type: music
    media_content_id: library://playlist/11
    data:
    media_content_id: library://playlist/11
    media_content_type: playlist
    target:
    entity_id: media_player.music_assistant_lounge_homepod_airplay
    alias: Play Chill Mix
    description: ""

Image

media_player.lounge_homepod

Lounge HomePod HomePod off friendly_name: Lounge HomePod HomePod
supported_features: 448439
media_player.music_assistant_lounge_homepod_airplay

Lounge HomePod Airplay playing group_members:
volume_level: 0.22
is_volume_muted: false
media_content_id: spotify://track/7MiZjKawmXTsTNePyTfPyL
media_content_type: music
media_duration: 131
media_position: 0
media_position_updated_at: 2025-01-22T23:37:43.571836+00:00
media_title: Devil Eyes
media_artist: Hippie Sabotage
media_album_name: Providence
app_id: music_assistant
source: ap829bfa31782e
shuffle: true
repeat: all
entity_picture_local: /api/media_player_proxy/media_player.music_assistant_lounge_homepod_airplay?token=96feb59cd1c50032740f81c941d57258a2b216dba8022326153b9ee6be7d1b6f&cache=603a881bf0ce06e2
mass_player_type: player
active_queue: ap829bfa31782e
device_class: speaker
entity_picture: https://i.scdn.co/image/ab67616d0000b273ecdad1ee6d530eb965d7c51e
icon: mdi:speaker
friendly_name: Lounge HomePod Airplay
supported_features: 4126647
remote.lounge_homepod

Lounge HomePod off friendly_name: Lounge HomePod
supported_features: 0
media_player.lounge_homepod

Lounge HomePod HomePod off friendly_name: Lounge HomePod HomePod
supported_features: 448439
media_player.music_assistant_lounge_homepod_airplay

Lounge HomePod Airplay playing group_members:
volume_level: 0.22
is_volume_muted: false
media_content_type: music
app_id: music_assistant
source: ap829bfa31782e
shuffle: true
repeat: all
entity_picture_local: /api/media_player_proxy/media_player.music_assistant_lounge_homepod_airplay?token=96feb59cd1c50032740f81c941d57258a2b216dba8022326153b9ee6be7d1b6f&cache=f7fb833421f8f20a
mass_player_type: player
active_queue: ap829bfa31782e
device_class: speaker
icon: mdi:speaker
friendly_name: Lounge HomePod Airplay
supported_features: 4126647
media_content_id: spotify://track/1mtLPUyH34kolgEy1VOBc0
media_duration: 231
media_position: 0
media_position_updated_at: 2025-01-22T23:39:33.761612+00:00
media_title: Ego Death
media_artist: Ty Dolla $ign/FKA twigs/Skrillex/Kanye West
media_album_name: Featuring Ty Dolla $ign
entity_picture: https://i.scdn.co/image/ab67616d0000b2739b6cff14d6cdf4b6a2be3a4f
remote.lounge_homepod

Lounge HomePod off friendly_name: Lounge HomePod
supported_features: 0

How to reproduce

I haven't worked this out yet, it is random how sometimes it faults after 30 minutes, sometimes a few hours, or some days not at all.

Music Providers

Spotify

Player Providers

Apple HomePod

Full log output

No response

Additional information

No response

What version of Home Assistant Core are your running

2025.1.2

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Alternative

@OzGav
Copy link
Contributor

OzGav commented Jan 23, 2025

Follow the template instructions and attach the full log. Follow the troubleshooting page of the docs and detail what you have done to narrow down this problem. If you can’t reproduce the problem we can’t either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants