I try to control my LMS from HA automation to change Spotify Playlists.
It works but it’s pretty slow, it adds tracks one by one (the first one play quickly but it takes 5 to 10 minutes to get all the tracks loaded in the playlist.
If I switch to another playlist while the previous one is still loading I get songs from both playlists mixed in the play queue.
If I change the playlist inside the LMS interface it loads the full playlist instantly.
I suspect HA pulls the playlist content from LMS and then push the track one by one to the queue, instead of ordering LMS to switch the playlist itself.
Any idea for a workaround?
I have 6 playlists and I need to be able to switch quickly from one to the other.
Same issue here. Only spotify playlists in LMS load slow, normal albums and playlist from local storage work fine. I noticed it’s due to a time out on playlist_urls which somehow still resolves. It doesn’t happen when loading the playlist on the LMS server directly.
2024-01-28 11:30:35.369 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify:track:4GLI1OPto9cr1GR0dDBf8r'}]
2024-01-28 11:30:40.413 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:5uwLiTItO97IbEd1AJUxcP'}]
2024-01-28 11:30:45.456 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:63XJxYP96OB7LFAUHDdff6'}]
2024-01-28 11:30:50.499 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:4zRPiXB2ABaMDzJCnyr3f5'}]
2024-01-28 11:30:55.544 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:7pkZQECV0xPPHivVKXdVjU'}]
2024-01-28 11:31:00.589 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:4RXA7dE4TPjTbFN0nItMao'}]
2024-01-28 11:31:05.635 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:5gCd5xbo37lftCS7waCQTa'}]
2024-01-28 11:31:10.678 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:6NMy4XmsCQjROj7Hlz0mby'}]
2024-01-28 11:31:15.731 ERROR (MainThread) [pysqueezebox.player] Timed out waiting for playlist_urls to have value [{'url': 'spotify://track:4GLI1OPto9cr1GR0dDBf8r'}, {'url': 'spotify:track:7KX5wSZa6azWVX1HxPWR0M'}]