Fix enqueue more than 50 tracks
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 14 Jun 2024 06:00:18 +0000 (08:00 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Fri, 14 Jun 2024 06:00:18 +0000 (08:00 +0200)
music_assistant/server/controllers/media/playlists.py

index 50bba2b724af775561934c09b5b611a39c2f9070..6df7e2085c3210efe9125eb64559bbff62599ccc 100644 (file)
@@ -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