Pass bitDepth and samplingRate to playTrack in all handlers

This commit is contained in:
vicrodh committed 2026-01-11 12:41:50 -06:00
1 parent bc7e13d756
commit f9baecfbdb
1 file changed
+6
+6
View File
@@ -380,6 +380,8 @@
artwork,
duration: track.durationSeconds,
quality,
bitDepth: track.bitDepth,
samplingRate: track.samplingRate,
albumId: selectedAlbum?.id,
artistId: track.artistId
});
@@ -742,6 +744,8 @@
artwork: track.albumArt || '',
duration: track.durationSeconds,
quality,
bitDepth: track.bitDepth,
samplingRate: track.samplingRate,
albumId: track.albumId,
artistId: track.artistId
});
@@ -765,6 +769,8 @@
artwork,
duration: track.duration_secs,
quality,
bitDepth: track.bit_depth,
samplingRate: track.sample_rate ? Math.round(track.sample_rate / 1000) : undefined,
isLocal: true
}, { isLocal: true });
}