Fix genre prop propagation for album cards

- Add genre field to QobuzTrack.album type
- Add genre to compilation albums in qobuzAdapters
- Add getGenreLabel function to LabelView
- Add genre prop to AlbumDetailView artist albums
- Update +page.svelte artist albums mapping to include genre
This commit is contained in:
vicrodh committed 2026-01-25 13:02:24 -06:00
1 parent 2a89b025a6
commit 4b9d819a98
5 files changed
+15 -4

No files matched your search

+2 -1
View File
@@ -285,7 +285,8 @@ function buildCompilationAlbums(tracks: QobuzTrack[] | undefined): ArtistAlbumSu
track.hires_streamable,
track.maximum_bit_depth,
track.maximum_sampling_rate
)
),
genre: album.genre?.name || ''
});
}