fix: correct artist portrait image URL construction

The Qobuz CDN pattern for artist portraits is
/images/artists/covers/medium/{hash}.{format}, not
/images/artists/covers/{hash}_600.{format}.
This commit is contained in:
vicrodh committed 2026-02-09 09:53:42 -06:00
1 parent 7072fbf63d
commit 84a54cc017
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -728,7 +728,7 @@ export function convertPageArtist(response: PageArtistResponse): ArtistDetail {
let image: string | undefined;
if (response.images?.portrait) {
const { hash, format } = response.images.portrait;
image = `https://static.qobuz.com/images/artists/covers/${hash}_600.${format}`;
image = `https://static.qobuz.com/images/artists/covers/medium/${hash}.${format}`;
}
// Biography: the page endpoint has content but not a separate summary