Feedback-Runde: lokale Titel sofort beim Start (ffprobe-Scan vor Online-Laden), Löschen-Bug (Vorexist-Check), Nur-Streaming-Merkliste mit ▶-Button statt Download

This commit is contained in:
2026-11-06 20:15:48 +01:00
parent 5b1749ec78
commit e7f7f26ded
4 changed files with 97 additions and 11 deletions

View File

@ -60,6 +60,14 @@ async fn get_local_books() -> Result<Vec<Book>, String> {
.await
.map_err(|e| format!("Hintergrundthread fehlgeschlagen: {e}"))
}
/// Titel, die Audible bewusst nicht als Datei liefert (Nur-Streaming).
#[tauri::command]
async fn stream_only() -> Result<Vec<String>, String> {
tauri::async_runtime::spawn_blocking(download::stream_only_load)
.await
.map_err(|e| format!("Hintergrundthread fehlgeschlagen: {e}"))
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
@ -77,6 +85,7 @@ pub fn run() {
start_decrypt,
get_library,
get_local_books,
stream_only,
download_list,
download_enqueue,
download_cancel,