music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.4k stars 51 forks source link

Spotify Playlist timing out #3222

Open itkama opened 1 day ago

itkama commented 1 day ago

What version of Music Assistant has the issue?

2.3.3

What version of the Home Assistant Integration have you got installed?

2024.11.5

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

The problem

I'm playing a 5 hour long spotify playlist (Rock Rotation). After a while (in the logs below after around 1 hour) the music just stops. I can start another playlist or the same one right away and music is playing again.

How to reproduce

Since the time it takes to time out varies, it's hard to give clear steps on how to reproduce this.

Music Providers

Spotify, I currently don't have other music providers available

Player Providers

Snapcast on a Raspberry Pi with a Hifiberry Hat

Full log output

music-assistant.log Not sure how many times it is in the logs, but around 16:33:12 was when it stopped playing music.

Additional information

Playback is being instigated via service call from HA that has a playlist URI in it ("spotify://playlist/37i9dQZF1DWZJhOVGWqUKF"). Selecting a playlist manually via the UI usually results in the same problem.

What version of Home Assistant Core are your running

2024.11.3

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Generic x86-64 (e.g. Intel NUC)

OzGav commented 1 day ago

The issue template says this

Please do NOT use debug logging unless asked to do so.

and you have used verbose which is worse? Having verbose on can cause timing issues.

itkama commented 12 hours ago

Well, I was trying to debug a problem - usually more information is better than less. I can deactivate it and see if it helps.