From fff8e6207001f0776e967c0e087b4896bbde4e74 Mon Sep 17 00:00:00 2001 From: Broque Thomas Date: Thu, 26 Feb 2026 10:03:02 -0800 Subject: [PATCH] Set Spotify artist albums limit to 50 Add limit=50 to spotify_client.get_artist_albums so up to 50 albums/singles/compilations are returned per request, reducing the need for extra pagination and ensuring more complete discography results from a single call. --- web_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_server.py b/web_server.py index 7e9cc222..319bbd40 100644 --- a/web_server.py +++ b/web_server.py @@ -27006,7 +27006,7 @@ def get_spotify_artist_discography(artist_name): print(f"🎵 Found Spotify artist: {artist.name} (ID: {spotify_artist_id}, confidence: {highest_score:.3f})") # Get all albums (albums, singles, and compilations) - all_albums = spotify_client.get_artist_albums(spotify_artist_id, album_type='album,single,compilation') + all_albums = spotify_client.get_artist_albums(spotify_artist_id, album_type='album,single,compilation', limit=50) if not all_albums: return {