From a030f1554870aa64e0164ddcc9c9640eda4e92c1 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Fri, 14 Jun 2024 08:00:18 +0200 Subject: [PATCH] Fix enqueue more than 50 tracks --- music_assistant/server/controllers/media/playlists.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/music_assistant/server/controllers/media/playlists.py b/music_assistant/server/controllers/media/playlists.py index 50bba2b7..6df7e208 100644 --- a/music_assistant/server/controllers/media/playlists.py +++ b/music_assistant/server/controllers/media/playlists.py @@ -310,9 +310,7 @@ class PlaylistController(MediaControllerBase[Playlist]): # note that we account for the fact that the provider might # return less than the limit (e.g. 20 items) due to track unavailability break - if paged_items == result: - # safety guard for malfunctioning provider - break + offset += limit return result -- 2.34.1