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.21k stars 44 forks source link

YT playlists queue is empty #2437

Closed cociweb closed 2 weeks ago

cociweb commented 2 weeks ago

What version of Music Assistant has the issue?

2.1.0b2

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

N/A

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

The problem

Youtube playlist are not playing and the following error is pop ups: with red background: "Resume queue requested but queue REDACTED MAC is empty"

I'll bet the problem is introduced with 2.1.0b2 where ytmusicapi is bumped.

How to reproduce

play a YT playlist from the playlist section.

Music Providers

Youtube: only playlists

Player Providers

Slimproto. (I’m not really sure which version has this problem, since 2.1.0b2 has problems with Slimproto players - and I only have those.) However, I would bet that the problem was introduced with 2.1.0b2, where ytmusicapi was updated. It’s confirmed that 2.1.0b3 is not working…

Full log output

yt_playlist.txt please focus on timestamp: 2024-06-10 21:40:04.286 -- 2024-06-10 21:40:39.960

Additional information

It does not matter what I've select in the context menu: play, play now (clear queue), next, radio, etc... additionally, as a side effect it kills my slimproto players and sometime it starts a greeting procedure in an endless loop.

What version of Home Assistant Core are your running

N/A

What type of installation are you running?

Home Assistant Supervised

On what type of hardware are you running?

Linux

cociweb commented 2 weeks ago

2.1.0b4 resolves this issue. Thank you for the fix!