From 1f6edbb1daa50cad1393ed69c062734c04d6ec21 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Sat, 16 May 2026 19:54:36 -0700 Subject: [PATCH] Remove arbitrary 10-album cap in get_artist_albums meta fetch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cap caused albums beyond position 10 to load without art on the artist detail discography. T2Tunes search_raw naturally returns ~20 results per query, so album_candidates is already bounded — no explicit cap needed. --- core/amazon_client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/amazon_client.py b/core/amazon_client.py index a392211e..27bdd824 100644 --- a/core/amazon_client.py +++ b/core/amazon_client.py @@ -598,8 +598,9 @@ class AmazonClient: break # Fetch metadata for art, release_date, track_count, and type inference. - # Cap at 10 parallel fetches — discography views don't need full coverage. - asins_to_fetch = [a for _, a in album_candidates[:10]] + # No explicit cap here — search_raw naturally bounds results to ~20 items, + # so album_candidates is already small. + asins_to_fetch = [a for _, a in album_candidates] metas = self._fetch_album_metas(asins_to_fetch) albums: List[Album] = []