Fix Pandora only showing five stations (#2956)
authorOzGav <gavnosp@hotmail.com>
Mon, 12 Jan 2026 12:13:22 +0000 (22:13 +1000)
committerGitHub <noreply@github.com>
Mon, 12 Jan 2026 12:13:22 +0000 (13:13 +0100)
music_assistant/providers/pandora/provider.py

index 9da33e0f4b986e00deb2e28a8e920cf8e0c0b538..4441ccf6be11122bc80a538b39038963f4b9e699 100644 (file)
@@ -195,12 +195,16 @@ class PandoraProvider(MusicProvider):
 
     async def get_library_radios(self) -> AsyncGenerator[Radio, None]:
         """Retrieve library/subscribed radio stations from the provider."""
-        self.logger.debug("Fetching Pandora stations")
-
-        response = await self._api_request("POST", STATIONS_ENDPOINT, data={})
+        response = await self._api_request(
+            "POST",
+            STATIONS_ENDPOINT,
+            data={
+                "pageSize": 250,
+            },
+        )
 
         stations = response.get("stations", [])
-        self.logger.debug("Found %d Pandora stations", len(stations))
+        self.logger.debug("Retrieved %d stations from Pandora", len(stations))
 
         for station in stations:
             station_image = None