Fix buffering UX when transitioning from local to Qobuz tracks

- Stop playback immediately when starting a Qobuz track to prevent
  previous track from continuing during download
- Show buffering toast while downloading Qobuz audio
- Skip buffering UI for local tracks since they load instantly
- Add is_local field to QueueTrack for prefetch optimization
- Update prefetch to skip local tracks (no network needed)
- Update all queue track builders to include is_local flag
This commit is contained in:
vicrodh committed 2026-01-16 07:58:13 -06:00
1 parent 3e3f89b6a8
commit 94d7d78a22
7 files changed
+50 -12

No files matched your search

+3
View File
@@ -23,6 +23,9 @@ pub struct QueueTrack {
pub hires: bool,
pub bit_depth: Option<u32>,
pub sample_rate: Option<f64>,
/// Whether this is a local library track (not from Qobuz)
#[serde(default)]
pub is_local: bool,
}
/// Repeat mode options