Remove arbitrary 10-album cap in get_artist_albums meta fetch

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.
This commit is contained in:
Broque Thomas 2026-05-16 19:54:36 -07:00
parent 376aaa4cc9
commit 1f6edbb1da

View file

@ -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] = []