diff --git a/src/App.svelte b/src/App.svelte index 914e5d2..e3ffe0b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -422,6 +422,18 @@ } } + // — Player-Bedienung (T-021) — + async function abspielen(b: Book): Promise { + if (!isLocal(b)) return + error = '' + try { + player = await playerLoad(b.asin, b.title) + info = '' + } catch (e) { + error = String(e) + } + } + // Beim Start: auth prüfen, Download-Events abonnieren, Abstammung + Abgleich. $effect(() => { playerSnapshot().then((s) => (player = s)).catch(() => {}) @@ -600,6 +612,7 @@ {:else if isLocal(b)} + {:else if streamOnly[b.asin]}