feat(playlist-import): concurrent matching with progress reporting

Replace sequential track matching with buffer_unordered(8) for 8
concurrent Qobuz API calls, reducing import time ~8x. Add real-time
progress events (import:progress, import:phase) emitted from Rust
backend and consumed by frontend via Tauri event listeners.

Frontend shows progress bar, matching status text, and current track
name during import. Individual search failures are now logged and
skipped instead of aborting the entire import.
This commit is contained in:
vicrodh committed 2026-02-09 17:53:04 -06:00
1 parent a46a422a04
commit 9fdd1dd0df
10 files changed
+278 -37

No files matched your search

+6 -1
View File
@@ -1520,6 +1520,11 @@
"summary": "Resumen",
"playlistLabel": "Playlist: {name}",
"tracksMatched": "Tracks encontrados: {matched} / {total}",
"skipped": "Omitidos: {count}"
"skipped": "Omitidos: {count}",
"matchingTracks": "Buscando tracks: {current} / {total} ({matched} encontrados)",
"matchingPhase": "Buscando en el catalogo de Qobuz...",
"creatingPhase": "Creando playlist...",
"addingPhase": "Agregando tracks a la playlist...",
"addingProgress": "Agregando tracks: {current} / {total}"
}
}