Plex: Use container_start and container_size for pagination (#2520)
authorferges123 <33381671+ferges123@users.noreply.github.com>
Wed, 22 Oct 2025 08:30:43 +0000 (10:30 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Oct 2025 08:30:43 +0000 (10:30 +0200)
music_assistant/providers/plex/__init__.py

index 4724ce6c8eee7a7362eb88a030b5eb3a1e920f07..c142887c5338017a4c1266cb8faf9a96cdcef6c0 100644 (file)
@@ -910,8 +910,8 @@ class PlexProvider(MusicProvider):
                 await self._run_async(
                     self._plex_library.searchTracks,
                     title=None,
-                    limit=page_size,
-                    offset=offset,
+                    container_size=page_size,
+                    container_start=offset,
                 ),
             )
             if not batch: