From 84a54cc017c18031c28dddf0fc7afbb356cad769 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Mon, 9 Feb 2026 09:53:42 -0600 Subject: [PATCH] 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}. --- src/lib/adapters/qobuzAdapters.ts | 2 +- src/lib/components/views/ArtistDetailView.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/adapters/qobuzAdapters.ts b/src/lib/adapters/qobuzAdapters.ts index e6bd01714..7f37d1ae8 100644 --- a/src/lib/adapters/qobuzAdapters.ts +++ b/src/lib/adapters/qobuzAdapters.ts @@ -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 diff --git a/src/lib/components/views/ArtistDetailView.svelte b/src/lib/components/views/ArtistDetailView.svelte index 5bea40a85..e9440da21 100644 --- a/src/lib/components/views/ArtistDetailView.svelte +++ b/src/lib/components/views/ArtistDetailView.svelte @@ -373,7 +373,7 @@ let image: { small?: string; thumbnail?: string; large?: string } | undefined; if (item.images?.portrait) { const { hash, format } = item.images.portrait; - const url = `https://static.qobuz.com/images/artists/covers/${hash}_600.${format}`; + const url = `https://static.qobuz.com/images/artists/covers/medium/${hash}.${format}`; image = { large: url, thumbnail: url, small: url }; } return {