M1-Politur nach Feedback: lokal statt fertig-Chip + Löschen für lokale Bücher, 'Nur lokale'-Filter, Offline-Scan über ffprobe (lokale Titel auch ohne Netz), Klartext-Fehler ('nicht als Datei', Timeout)

This commit is contained in:
2026-11-06 20:09:07 +01:00
parent 560361004a
commit 5b1749ec78
6 changed files with 196 additions and 31 deletions

View File

@ -52,6 +52,14 @@ async fn get_library(
.await
.map_err(|e| format!("Hintergrundthread fehlgeschlagen: {e}"))?
}
/// Lokale Titel auch ohne Netz/Anmeldung — ffprobe-basiert.
#[tauri::command]
async fn get_local_books() -> Result<Vec<Book>, String> {
tauri::async_runtime::spawn_blocking(audible::local_books)
.await
.map_err(|e| format!("Hintergrundthread fehlgeschlagen: {e}"))
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
@ -68,6 +76,7 @@ pub fn run() {
start_login,
start_decrypt,
get_library,
get_local_books,
download_list,
download_enqueue,
download_cancel,