Apple Music: Fix playlist page size for Apple music. (#1498)
authorMarvin Schenkel <marvinschenkel@gmail.com>
Sun, 14 Jul 2024 17:36:42 +0000 (19:36 +0200)
committerGitHub <noreply@github.com>
Sun, 14 Jul 2024 17:36:42 +0000 (19:36 +0200)
Fix playlist page size for Apple musoic.

music_assistant/server/providers/apple_music/__init__.py

index 50a2fc952d52ed393327779b3af59cb2dcb7a067..c4e07526890befb8db1f6bd13d1cc8142f5c043f 100644 (file)
@@ -280,7 +280,7 @@ class AppleMusicProvider(MusicProvider):
         else:
             endpoint = f"me/library/playlists/{prov_playlist_id}/tracks"
         result = []
-        page_size = 200
+        page_size = 100
         offset = page * page_size
         response = await self._get_data(
             endpoint, include="artists,catalog", limit=page_size, offset=offset