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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user