diff --git a/src/lib/components/views/ArtistDetailView.svelte b/src/lib/components/views/ArtistDetailView.svelte index d85cffb73..67fa84183 100644 --- a/src/lib/components/views/ArtistDetailView.svelte +++ b/src/lib/components/views/ArtistDetailView.svelte @@ -430,6 +430,9 @@ hires: t.hires_streamable ?? false, bit_depth: t.maximum_bit_depth ?? null, sample_rate: t.maximum_sampling_rate ?? null, + is_local: false, + album_id: t.album?.id || null, + artist_id: t.performer?.id ?? null, })); } diff --git a/src/lib/components/views/FavoritesView.svelte b/src/lib/components/views/FavoritesView.svelte index 6cfc335b3..366358d2f 100644 --- a/src/lib/components/views/FavoritesView.svelte +++ b/src/lib/components/views/FavoritesView.svelte @@ -743,6 +743,9 @@ hires: t.hires ?? false, bit_depth: t.maximum_bit_depth ?? null, sample_rate: t.maximum_sampling_rate ?? null, + is_local: false, + album_id: t.album?.id || null, + artist_id: t.performer?.id ?? null, })); } diff --git a/src/lib/components/views/HomeView.svelte b/src/lib/components/views/HomeView.svelte index 918a4f310..47b395616 100644 --- a/src/lib/components/views/HomeView.svelte +++ b/src/lib/components/views/HomeView.svelte @@ -374,6 +374,9 @@ hires: t.hires ?? false, bit_depth: t.bitDepth ?? null, sample_rate: t.samplingRate ?? null, + is_local: t.isLocal ?? false, + album_id: t.albumId || null, + artist_id: t.artistId ?? null, })); } diff --git a/src/lib/components/views/LocalLibraryView.svelte b/src/lib/components/views/LocalLibraryView.svelte index 0b2f27793..e33867da8 100644 --- a/src/lib/components/views/LocalLibraryView.svelte +++ b/src/lib/components/views/LocalLibraryView.svelte @@ -1168,6 +1168,9 @@ hires: (t.bit_depth && t.bit_depth > 16) || t.sample_rate > 44100, bit_depth: t.bit_depth ?? null, sample_rate: t.sample_rate ?? null, + is_local: true, + album_id: null, // Local tracks don't have Qobuz IDs + artist_id: null, })); console.log('[LocalLibrary Queue] Mapped to', queueTracks.length, 'queue tracks'); diff --git a/src/lib/components/views/SearchView.svelte b/src/lib/components/views/SearchView.svelte index 092621fa2..f52c726fd 100644 --- a/src/lib/components/views/SearchView.svelte +++ b/src/lib/components/views/SearchView.svelte @@ -402,6 +402,9 @@ hires: t.hires_streamable ?? false, bit_depth: t.maximum_bit_depth ?? null, sample_rate: t.maximum_sampling_rate ?? null, + is_local: false, + album_id: t.album?.id || null, + artist_id: t.performer?.id ?? null, })); }