From 1641ab7c33375374df52017f48bc66b3940d1061 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 23 Jan 2026 03:58:20 -0600 Subject: [PATCH] fix(queue): add album_id and artist_id to PlaylistDetailView queue builders --- src/lib/components/views/PlaylistDetailView.svelte | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/components/views/PlaylistDetailView.svelte b/src/lib/components/views/PlaylistDetailView.svelte index 82e6c54db..3c25da6b2 100644 --- a/src/lib/components/views/PlaylistDetailView.svelte +++ b/src/lib/components/views/PlaylistDetailView.svelte @@ -656,6 +656,8 @@ bit_depth: t.bitDepth ?? null, sample_rate: t.samplingRate != null ? (t.isLocal ? t.samplingRate * 1000 : t.samplingRate) : null, is_local: t.isLocal ?? false, + album_id: t.isLocal ? null : (t.albumId || null), + artist_id: t.isLocal ? null : (t.artistId ?? null), })); const localIds = tracks @@ -835,6 +837,8 @@ bit_depth: t.bitDepth ?? null, sample_rate: t.samplingRate != null ? (t.isLocal ? t.samplingRate * 1000 : t.samplingRate) : null, is_local: t.isLocal ?? false, + album_id: t.isLocal ? null : (t.albumId || null), + artist_id: t.isLocal ? null : (t.artistId ?? null), } }); } catch (err) { @@ -863,6 +867,8 @@ bit_depth: t.bitDepth ?? null, sample_rate: t.samplingRate != null ? (t.isLocal ? t.samplingRate * 1000 : t.samplingRate) : null, is_local: t.isLocal ?? false, + album_id: t.isLocal ? null : (t.albumId || null), + artist_id: t.isLocal ? null : (t.artistId ?? null), })); // Collect local track IDs