diff --git a/ui/src/lib/components/AudioPlayer.svelte b/ui/src/lib/components/AudioPlayer.svelte index 6e3b65b..a1a6b63 100644 --- a/ui/src/lib/components/AudioPlayer.svelte +++ b/ui/src/lib/components/AudioPlayer.svelte @@ -1345,6 +1345,47 @@ + + + {#if !audioStore.autoNext && nextChapter != null} +
+ {#if audioStore.nextStatus === 'none'} + + {:else if audioStore.nextStatus === 'prefetching'} + + + + + + Warming up Ch. {nextChapter}… + + {:else if audioStore.nextStatus === 'prefetched'} + + + + + Ch. {nextChapter} ready + + {:else if audioStore.nextStatus === 'failed'} + + + + + Warm-up failed + + {/if} +
+ {/if} {/if} {:else if audioStore.active} diff --git a/ui/src/routes/books/[slug]/+page.svelte b/ui/src/routes/books/[slug]/+page.svelte index f29c407..767c0b8 100644 --- a/ui/src/routes/books/[slug]/+page.svelte +++ b/ui/src/routes/books/[slug]/+page.svelte @@ -1,20 +1,43 @@