Fix Hi-Res quality badge showing as CD when playing from playlists
Root cause: Queue tracks were being built without quality fields (hires, bit_depth, sample_rate) in multiple views. When auto-advancing or skipping tracks, the playerStore would have undefined quality data, causing QualityBadge to default to CD tier. Fixed by: - Adding quality fields to queue track builders in PlaylistDetailView, FavoritesView, ArtistDetailView, and LocalLibraryView - Replacing all 'CD Quality' fallbacks with '-' placeholder in +page.svelte - Adding bitDepth/samplingRate fields to ArtistDetailView DisplayTrack
This commit is contained in:
1 parent
ed3cfe6b4f
commit
7affd2bf13
5 files changed
+42
-7
No files matched your search
@@ -353,7 +353,10 @@
|
||||
artist: t.artist,
|
||||
album: t.album,
|
||||
duration_secs: t.duration_secs,
|
||||
artwork_url: t.artwork_path ? `file://${t.artwork_path}` : null
|
||||
artwork_url: t.artwork_path ? `file://${t.artwork_path}` : null,
|
||||
hires: (t.bit_depth && t.bit_depth > 16) || t.sample_rate > 44100,
|
||||
bit_depth: t.bit_depth ?? null,
|
||||
sample_rate: t.sample_rate ?? null,
|
||||
}));
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user