Mini player, direct file links, backups and polish

- Mini player with optional cover art, blurred backdrop, reorderable queue and always-on-top
- Direct .mp3/.wav/.flac/.mp4 links are verified and read for real bitrate, tags and cover
- Lyrics soften with distance from the sung line; hovering brings a line into focus
- Browser sign-in check with clear guidance, plus cookies.txt file support
- Backup and restore of settings, stats, liked songs and artist photos
- Uninstaller keeps data by default and offers a backup before deleting it
- Stalled partial downloads clear automatically when downloads finish
- Window border follows the app theme; images can no longer be dragged out
- Fix search results rendering as [object Object]
This commit is contained in:
Christian
2026-11-18 20:17:39 -05:00
parent 1fcd3a85f7
commit 7329bd673b
24 changed files with 1105 additions and 32 deletions
+10 -3
View File
@@ -204,7 +204,15 @@ impl Downloader {
Err(e) => job.emit("error", Some(format!("{e:#}")), None),
}
this.flags.lock().unwrap().remove(&p.id);
this.queue.lock().unwrap().running -= 1;
let idle = {
let mut q = this.queue.lock().unwrap();
q.running -= 1;
q.running == 0 && q.pending.is_empty()
};
if idle {
let s = this.settings.lock().unwrap().clone();
let _ = tauri::async_runtime::spawn_blocking(move || crate::storage::clear_stalled(&s)).await;
}
this.pump();
});
}
@@ -758,8 +766,7 @@ mod tests {
#[test]
fn builds_stems_and_escapes_templates() {
let mut settings = Settings::default();
settings.output_dir = "out".into();
let settings = Settings { output_dir: "out".into(), ..Default::default() };
let meta = TagFields { title: "100% Night".into(), track_number: Some(3), track_total: Some(120), ..Default::default() };
let req = JobRequest { entry: entry(None, false, vec![]), meta, folder: Some("Nova - Glass: Vol 1".into()), trim: None, playlist: None };
let stem = file_stem(&settings, &req);