diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 9bae2c7..33a1d22 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -36,7 +36,7 @@ The workspace contains the root app (`src/`, `tests/`) and `@libras/website` (`w
| `AuthStore` / `authenticate` | Credential persistence / token derivation and automatic HTTPS password fallback |
| `Network` / `SubsonicClient` | Connection cancellation, normalized domain access / Subsonic protocol requests |
| `Cache` | Account-scoped library, queue, images, downloads, playlists, and OPFS persistence |
-| `Playback` | Queue commands, server synchronization, and playback orchestration |
+| `Playback` | Local queue commands, explicit server exchange, and playback orchestration |
| `AudioTransport` | Native audio lifetime, source acquisition, reactive transport state, and seeking |
| `AudioPlayer` | Headless keyboard shortcuts and Media Session binding to the app-owned transport |
| `Covers` / `TrackEngine` | Resource acquisition, download scheduling, and browser URL lifetimes |
@@ -48,10 +48,12 @@ Routes use the bare query, for example `/webapp/?/library/artist/123#section`. E
### Persistence and account safety
- Read Cache collections directly; change them through explicit methods. Session owns account details; Cache accepts an opaque account key and hashes it for storage. An undefined key creates an empty, non-persisting fallback. A defined key does not mean hydration succeeded.
-- Library, queue, playlist, and image memory updates checkpoint asynchronously. Downloads instead await explicit queued/failed/completed commits in one versioned store; failed jobs require explicit Retry or a bulk Download action. Interrupted queued jobs restart from scratch, never adopting unregistered bytes. Successful byte close wins cancellation while completed metadata commits; cancellation joins that work. Unknown queued/failed job fields, including old attempts, are ignored on load and omitted on subsequent writes; orphan-file reclamation after old attempts or abrupt termination is intentionally out of scope. Offline library limits browsing/listening, not requested downloads. Do not treat visible state as proof of persistence. Unreadable download documents are preserved, not reset; readable saved files remain usable.
-- Credentials use localStorage only, until disconnect. Token login stores username/token/salt; verified direct-password fallback stores the actual password. localStorage is not encrypted and is readable by same-origin scripts. Never log credentials or credential-bearing URLs. Legacy token records migrate without changing account keys; migration writeback is best-effort.
-- Disconnect retains local data for offline use. Same-account reconnects reuse the live cache to preserve edits. Account changes drain old writes and retire resources before committing the new workspace. Late results must not leak into a different account.
-- Startup and manual refresh pull server state. Reconnecting must not upload an offline queue automatically, and refresh must not replace a playing or paused queue.
+- Library, queue, playlist, and image memory updates checkpoint asynchronously. Downloads instead await explicit queued/failed/completed commits in one versioned store; failed jobs require explicit Retry or a bulk Download action. Interrupted queued jobs restart from scratch, never adopting unregistered bytes. Successful byte close wins cancellation while completed metadata commits; cancellation joins that work. Unknown queued/failed job fields, including old attempts, are ignored on load and omitted on subsequent writes; orphan-file reclamation after old attempts or abrupt termination is intentionally out of scope. Work offline disables all server domains and pauses queued downloads, retaining durable intent. One Network-owned connection serves every domain; reconnect resumes queued, never failed jobs. All music/Downloaded is a separate browsing preference and never filters or rewrites the queue. Cached playback may continue offline; remote playback stops. Do not treat visible state as proof of persistence. Unreadable download documents are preserved, not reset; readable saved files remain usable.
+- New connections default to memory-only credentials. `Session.connect(input, remember)` persists verified credentials only after workspace acceptance when explicitly opted in; credential-free identity persists separately so reload opens local data offline. Existing persisted credentials remain recognized until disconnect/explicit opt-out; do not silently remove legacy records. Token persistence stores username/token/salt; verified direct-password fallback stores the actual password. localStorage is not encrypted and is readable by same-origin scripts. Never log credentials or credential-bearing URLs. Legacy token records migrate without changing account keys; migration writeback is best-effort. Keep injected demo `AuthStore(new MemoryStorage())` supported. Remember is an app persistence choice, not browser autofill policy.
+- Session acquires an exclusive Web Lock with `ifAvailable`, named from the same SHA-256 account identity as OPFS, before hydration or authenticated producers. Only one tab activates a persistent account; another is blocked, not a read-only replica. Retry is explicit after closing the owner; there is no polling/takeover. Missing Web Locks blocks activation honestly. Browser document termination releases its lock; it does not guarantee the last in-memory edit survived a crash.
+- Disconnect retains local data and ownership for offline use. Same-account reconnects reuse the live cache and lease to preserve edits. Different-account preparation acquires its lease first; failures retain the original workspace. Account changes stop producers and drain old writes before releasing ownership. Disposal stops producers, checkpoints globally and cancels/drains disk operations before releasing. Deletion retains ownership even on failure. Late results must not leak into a different account.
+- `Cache.flushQueue()` checkpoints only the queue document, independent of other domains’ pending/failing checkpoints. Playback progress, pause, visibility and explicit queue commands use it. Global `flush()` remains for workspace retirement/disposal. These guarantees apply to Session-owned persistent workspaces; direct Cache construction in focused storage fixtures does not acquire a lease.
+- Startup and manual refresh pull library/artwork/playlist state only. The device queue is authoritative: no automatic server queue reads or writes on startup, refresh, reconnect, progress, pause or visibility changes. Local resume checkpoints remain automatic. Queue in navigation opens Now Playing even when empty/stopped; only confirmed Load server queue and explicit Save queue to server exchange queues. Empty saves confirm clearing the server queue. One exchange runs at a time; local edits remain available. Loads discard stale account/connection/revision/playback results and never autoplay. Saves send a stable starting snapshot without changing local playback. Subsonic selects by track ID, not occurrence: retain a matching local occurrence when membership matches, otherwise select the first match. Preserve unknown IDs. Demo exchange controls are disabled.
- Preserve queue IDs and occurrence indexes, including duplicates and unavailable tracks. Filtering the UI must not rewrite the saved queue.
- Release browser resources explicitly. The service worker caches the app shell, not API responses or music; offline audio downloads are explicit user actions.
@@ -73,8 +75,9 @@ Library normalization uses structured `artists`, `displayArtist`, and `genres`,
- Use semantic color/type roles and spacing/shape primitives. Containers own gaps and padding. Avoid global element resets and additional token aliases or configuration layers without a concrete consumer.
- `src/ui/` contains shared presentation. Artwork delegates acquisition and object-URL ownership to Covers. Atmosphere uses CSS scroll timelines with static fallbacks for unsupported browsers and reduced motion; don't add scroll handlers for decoration.
- The app scrolls the document with native page overscroll. Container queries adapt navigation and split layouts without remounting playback. Now Playing is a fullscreen native dialog with its own scrolling. Modal dialogs/backdrops suppress scroll chaining and boundary bounce without changing document overflow.
-- Preserve offline filtering, ordered playback, and action scope. Library batches remain lazy. Downloads show real jobs and saved records, not invented progress. Queue rows use original occurrence indexes.
-- Keep native validation, keyboard focus, actual error messages, and guarded busy actions. Never expose credentials. A completed connection must not redirect after the user leaves Settings. Update state is shared between sidebar and drawer.
+- Library reuses the committed search implementation, including multi-select URL criteria and lazy batches; `/search` is an alias, not a second browse model. Routine Library arrival focuses its heading; explicit search anchors focus the input, and criteria updates preserve focus. Preserve independent downloaded filtering and ordered collection scope. Track Play now replaces with only that track; collection Play now replaces with its scope. Play next inserts after selection; Add to queue appends; neither autoplays inactive queues. Queue removal uses original occurrence indexes, stops selected removal without advancing, and focuses next/previous removal or the heading.
+- Downloads show actual jobs and registered completed audio-byte totals (not origin usage). Completed-format removal commits the catalog before reclaiming bytes, preserves failures honestly, and stops/unloads an active cached source without changing queue membership. Bulk removal confirms account scope and excludes pending jobs; cancellation remains separate.
+- Keep native validation, keyboard focus, actual error messages, and guarded busy actions. Never expose credentials. A completed connection must not redirect after the user leaves the focused Connect screen. Update state is shared between sidebar and drawer.
- Prefer native `commandfor`/`command` invokers for dialogs and popovers. Use imperative APIs only for behavior that cannot be expressed declaratively. Popovers already have implicit invoker anchors. Preserve long-press and swipe dismissal; don't dismiss overlays on resize.
- Store UI icons in `src/sprite.svg` and render through typed `Icon`; keep its name union synchronized. Use `currentColor` and accessible labels for icon-only controls. The build injects the sprite into HTML, not JavaScript.
- Self-hosted fonts and their license live in `src/fonts/`; preserve optional loading and system fallbacks. Keep font preloads aligned with the faces each entry point uses.
@@ -95,20 +98,25 @@ NODE_PATH=/path/to/external/node_modules PREVIEW_URL=http://127.0.0.1:5173 \
Select suites for the behavior being changed:
-| Suite in `tests/browser/` | Coverage |
-| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| `edgerunner.test.cjs` | Shared styles, fonts, native controls, overlays, and reduced motion |
-| `navigation.test.cjs` | Document scrolling, shell, playback, query routes, anchors, and optional offline navigation |
-| `startup.test.cjs` | Initial Settings route, reloads, and subsequent animated navigation |
-| `pwa-updates.test.cjs` | Self-hosted production builds: real worker installation, per-tab consent, repeated discovery, offline application, failed precache, and optional old-plugin migration |
-| `library.test.cjs`, `search.test.cjs` | Browsing, actions, responsive layouts, and native dismissal |
-| `downloads.test.cjs`, `settings.test.cjs` | Actual app/OPFS behavior with intercepted Subsonic requests |
-| `atmosphere.test.cjs` | Document/dialog scroll timelines; self-contained, no server required |
-| `website-cascade.test.cjs` | Script-free landing layout, keyboard/FAQ behavior, and standalone demo journeys |
-| `design-improvements.test.cjs` | Compact details, full-height player, queue anchors, confirmation, gradients, popover timing, titles, and demo guidance (website server) |
+| Suite in `tests/browser/` | Coverage |
+| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| `edgerunner.test.cjs` | Shared styles, fonts, native controls, overlays, and reduced motion |
+| `navigation.test.cjs` | Document scrolling, shell, playback, query routes, anchors, and optional offline navigation |
+| `startup.test.cjs` | Initial Connect route, reloads, and subsequent animated navigation |
+| `pwa-updates.test.cjs` | Self-hosted production builds: real worker installation, per-tab consent, repeated discovery, offline application, failed precache, and optional old-plugin migration |
+| `library.test.cjs`, `search.test.cjs` | Browsing, actions, responsive layouts, and native dismissal |
+| `queue.test.cjs` | Explicit load/save, zero automatic queue requests, empty navigation, native confirmation focus/Escape, sanitized failures, duplicates and 320px reflow (optional `ARTIFACT_DIR` for screenshots) |
+| `downloads.test.cjs`, `settings.test.cjs` | Actual app/OPFS behavior with intercepted Subsonic requests; focused connection, memory/remembered reload, queue removal focus, saved-byte removal and confirmation |
+| `atmosphere.test.cjs` | Document/dialog scroll timelines; self-contained, no server required |
+| `website-cascade.test.cjs` | Script-free landing layout, keyboard/FAQ behavior, and standalone demo journeys |
+| `design-improvements.test.cjs` | Compact details, full-height player, queue anchors, confirmation, gradients, popover timing, titles, and demo guidance (website server) |
+
+`account-ownership.test.cjs` runs against the app **dev** server with real Web Locks and OPFS: two pages, blocked activation/deletion, explicit keyboard Retry after owner close, preserved duplicate/unknown queue entries and resume, unsupported-browser UI and 320px reflow. Set `ARTIFACT_DIR` to capture screenshots and evidence. The deliberate callback delay used for the Checking screenshot is fixture-only; acquisition remains native.
`cache-downloads.test.cjs` exercises native OPFS close/publication boundaries and restart-from-scratch behavior by importing the owning modules. Run it against the app **dev** server; Downloads, Settings, and navigation checks can run against production preview.
+`downloads.test.cjs` also decodes a small WAV fixture through the real audio element: cached seeking, durable pause/resume across reload without autoplay, browser-network-offline playback/seek, and explicit retry after a native pause. The shell reload itself is online so the suite also works against dev; offline app-shell navigation/update is covered by the production worker suites. Set `BROWSER=webkit` to run this same suite with an externally installed WebKit runtime; failures/unavailable prerequisites are not passes. Neither automation engine establishes physical iPhone background behavior. Use the [physical iPhone protocol](docs/iphone-validation.md) for Safari and installed mode.
+
Run the website suite against the website server, not the app:
```sh
@@ -131,7 +139,7 @@ This suite owns its server and temporary `/webapp/` production builds; no previe
NODE_PATH=/path/to/external/node_modules node --test tests/browser/pwa-updates.test.cjs
```
-It uses real generated workers, pre-hash fixture-only document markers, and native events/UI approval. It checks fresh installation, two-tab consent, C/D discovery in an unreloaded B document, offline application, failed-precache recovery, and preexisting waiting updates without clearing storage between versions. Temporary builds, contexts, browser, and server are cleaned up; root/website outputs are untouched. Logs include document tokens, preserved URLs, worker hashes, and native transitions.
+It uses real generated workers, pre-hash fixture-only document markers, and native events/UI approval. It checks fresh installation, two-tab consent, C/D discovery in an unreloaded B document, offline application, failed-precache recovery, preexisting waiting updates, and local queue/resume preservation without autoplay after an approved update, without clearing storage between versions. Temporary builds, contexts, browser, and server are cleaned up; root/website outputs are untouched. Logs include document tokens, preserved URLs, worker hashes, and native transitions.
Old-plugin migration is explicitly skipped unless `PWA_OLD_DIST` points to an untouched production artifact built at `/webapp/`. To reproduce the original baseline without changing this checkout:
diff --git a/README.md b/README.md
index 01412ae..c9b6638 100644
--- a/README.md
+++ b/README.md
@@ -12,17 +12,20 @@ Libras is a browser-based minimalistic music player that connects to your own mu
## Features
-- Browse artists, albums, and tracks.
+- Browse and search artists, albums, and tracks together in Library, with shareable multi-select type filters. Older Search links keep their criteria.
- Stream music from your own server.
- Download music for offline playback and manage it in Settings → Downloads.
-- Restore your playback queue and position between sessions.
+- Restore this device’s playback queue and position between sessions, without autoplay.
+- Explicitly Load server queue or Save queue to server from Queue in navigation. Startup, reconnect, library refresh and playback never exchange server queues. Loading confirms replacement and stops playback only after a valid result arrives; failed/stale loads leave local state intact. Saving an empty queue confirms clearing the server queue. Duplicate and unavailable IDs are retained; Subsonic selection uses a track ID, so duplicate occurrences are ambiguous (the local occurrence is retained when membership matches, otherwise the first match is selected). The demo has no server queue exchange.
- Install as a standalone web app.
## Get started
1. Open [Libras](https://libras-music.app/webapp/).
2. Connect to your music server with your server address, username, and password.
-3. Browse your library and start listening.
+3. Browse or search Library and start listening. Settings links back to the focused connection screen for sign-in.
+
+**Play now** replaces the queue with that track only, or the chosen collection in its current scope. **Play next** inserts after the selected occurrence; **Add to queue** appends. Neither starts an inactive queue. Queue removal preserves other occurrences (including duplicates and unavailable tracks); removing the selected occurrence stops playback without choosing a replacement.
Just trying it out? Connect to the [Navidrome demo server](https://demo.navidrome.org/) using `https://demo.navidrome.org` as the server address and `demo` as both the username and password.
@@ -30,13 +33,15 @@ You'll need a reachable **HTTPS server with a Subsonic-compatible API**, such as
### Browser support
-Safari 26.0 or newer is required; older Safari versions are not supported. The app uses native URLPattern and OPFS writable files. Safari 26.0–26.1 load Navigation API and invoker commands polyfills on demand; Safari 26.2+ use the native APIs. The dialog `closedby` polyfill and relative `rgb()` colors remain necessary for Safari 26. The standalone styleguide uses native browser features without polyfills.
+Safari 26.0 or newer is required; older Safari versions are not supported. The app uses native URLPattern, OPFS writable files, and Web Locks. Without Web Locks, account activation is blocked rather than risking conflicting writes. Safari 26.0–26.1 load Navigation API and invoker commands polyfills on demand; Safari 26.2+ use the native APIs. The dialog `closedby` polyfill and relative `rgb()` colors remain necessary for Safari 26. The standalone styleguide uses native browser features without polyfills.
### Authentication and device storage
Libras tries salted token authentication first; your password stays in the browser for that attempt. Only a structured server rejection of token authentication (Subsonic code 41 or 42) automatically retries the same username and password over HTTPS, including on localhost. Invalid credentials, connection failures, and other errors never trigger a password retry.
-Credentials persist in **localStorage** until you disconnect. Token login saves the username, token, and salt, not your password. Successfully verified direct-password login saves the actual password and sends it with subsequent requests, including artwork and streaming URLs. HTTPS encrypts transport, not localStorage; scripts running on the app's origin and anyone with access to your browser profile can read saved credentials. Use a trusted device and server, and disconnect on shared devices. Disconnect removes credentials but retains your offline account, music, and queue.
+New connections keep credentials **in memory only** by default. Reloading retains your credential-free offline identity, music, and queue, but requires signing in again for server access. Select **Remember this device** only on a trusted device to save verified credentials in localStorage after the account workspace is accepted. Existing remembered credentials remain recognized until you disconnect or explicitly opt out; they are not silently deleted on startup. This choice controls Libras storage, not your browser’s password manager.
+
+Remembered token login saves username/token/salt, not your password. Verified direct-password fallback saves the actual password and sends it with subsequent requests, including artwork and streaming URLs. HTTPS encrypts transport, not localStorage; same-origin scripts and anyone with access to your browser profile can read saved credentials. Disconnect removes credentials but retains offline identity/data unless you also choose local deletion.
## Install
@@ -46,15 +51,17 @@ You can use Libras in your browser or install it as a standalone web app:
- **Android:** Choose **Install app / Add to home screen** from the browser menu.
- **Desktop:** Use the browser's install option, where available.
-Installation options vary by browser and device. Offline storage and background playback have not yet been verified on iOS.
+Installation options vary by browser and device. Offline storage and background playback have not yet been verified on iOS. Physical iPhone validation is **NOT PERFORMED / PENDING DEVICE ACCESS**; see the [Safari and installed-mode validation protocol](docs/iphone-validation.md).
## Listen offline
-Download music while online, then switch to **Offline Library** to listen without a connection.
+Download music while connected, then choose **Work offline** in navigation or Settings. This turns off all server access, stops remote playback and pauses requested downloads while retaining their queued intent. Cached playback can continue. Choose **Connect** to resume queued downloads; failed jobs require Retry. Reconnecting never loads or saves the server queue.
+
+**Library scope → All music / Downloaded** is independent of the connection. Downloaded filters browsing and search without disconnecting or changing your queue, position or active audio. All music can browse saved metadata offline; uncached tracks remain visible as unavailable.
-- **Manage downloads:** Settings → Downloads.
+- **Manage downloads:** Downloads in navigation (also linked from Settings). Totals count registered completed audio bytes, not total browser storage. Remove individual formats, or confirm **Remove all downloaded music** for this account. Queue membership and server files stay unchanged; pending jobs use the separate Cancel downloads action. Removing an active cached source stops/unloads it. Catalog deletion must succeed before bytes are reclaimed; failures remain visible for retry.
- **Refresh library:** Automatic when opening online, or via Settings → Refresh library.
-- **Disconnect:** Clears credentials and optionally deletes this account’s local cache and downloads. Remembered identity, preferences, other accounts and server data are unchanged. Close other Libras tabs before deleting local data.
+- **Disconnect:** Clears credentials and optionally deletes this account’s local cache and downloads. Remembered identity, preferences, other accounts and server data are unchanged. Only one tab can open an account’s local data at a time, including while deleting it. A second tab is blocked: close the owning tab, then select **Retry**. There is no automatic takeover or live cross-tab queue replication.
- **Storage:** Each server/account has its own offline library, saved only in this browser on this device. **Clearing site data deletes it.**
## App updates
diff --git a/docs/iphone-validation.md b/docs/iphone-validation.md
new file mode 100644
index 0000000..8ef8b87
--- /dev/null
+++ b/docs/iphone-validation.md
@@ -0,0 +1,28 @@
+# Physical iPhone playback and recovery validation
+
+**Result: NOT PERFORMED / PENDING DEVICE ACCESS.** No physical iPhone is available in the automated environment. Desktop Chromium or automated WebKit results do not establish iPhone background playback, lock-screen integration, or installed-mode behavior.
+
+Run this protocol separately in Safari and Add to Home Screen installed mode, on the same tested HTTPS origin. Use a disposable account and retain sanitized observations; never include credentials or credential-bearing media URLs.
+
+## Record
+
+- Date/tester, device model, iOS build, Safari version, browser or installed mode.
+- App commit/build, origin/base path, server/version and CORS setup.
+- Raw audio codec/container and duration; transcoded format and server settings.
+- For each step: PASS / FAIL / NOT RUN, actual behavior, timestamps, sanitized logs, and reproduction steps. Do not replace this pending result without device evidence.
+
+## Protocol (both modes)
+
+1. Connect to a reachable HTTPS/CORS-enabled server. Play supported raw audio, then a source requiring transcoding fallback. Verify pause, resume, seek forward/backward and track changes. Record any activation-required error and explicit Play retry.
+2. Check Media Session title/artwork, lock-screen play/pause/next/previous, screen lock and background playback. Navigate within the app and return from another app; confirm queue/position and that audio is not duplicated.
+3. Interrupt with a call/alarm/another audio app. Switch speaker/headphones/Bluetooth output, disconnect the output, then return to the foreground and retry explicitly if required. Record OS-specific pause/resume behavior rather than assuming automatic recovery.
+4. Download music to completion. Choose Work offline and airplane mode. Play and seek cached audio, including after pausing/resuming. Confirm uncached queue entries remain visible/removable and unavailable, without silently rewriting the queue.
+5. Pause at a known position, background/close and relaunch. Verify saved selection/position, **no autoplay**, then explicit Play offline. Repeat in installed mode. Distinguish normal relaunch from OS termination/eviction; storage and the last uncheckpointed edit are not guaranteed after eviction.
+6. Interrupt an active queued download by Work offline, network loss, and app termination (separate trials). Reconnect explicitly. Queued jobs restart from scratch; failed jobs require Retry. Verify playable completed files, correct byte totals, and no phantom completed records or corrupt audio.
+7. Lose the network during remote playback/load/seek. Verify honest failure/interruption and explicit recovery after reconnect. Confirm cached playback still works and reconnection never replaces the local queue. Test explicit Load/Save server queue separately; load must not autoplay.
+8. With an update waiting, decline/dismiss first: no reload. Approve Update now: only this approving document reloads, route and durable local queue/position survive, playback does not autoplay. Repeat with an already-installed update while offline and a second unapproved tab.
+9. Open the same account in another tab: activation is blocked. Close the owner, choose Retry, and verify local queue/resume. Disconnect without deletion: credentials disappear but offline music remains. Reconnect, cancel/Escape local removal, then confirm deletion: this account's bytes disappear and active cached audio unloads; other accounts/server data remain unchanged.
+
+## Evidence and limitations
+
+Attach one result table per mode and raw/transcoded source, with failures and unrun steps explicit. Include sanitized console/service-worker observations where available, output-device details, time spent backgrounded/locked, and any OS eviction or termination. A successful short run is not a guarantee of indefinite iOS background execution or durable storage retention.
diff --git a/src/_album.svelte b/src/_album.svelte
index c0cfdb3..c4a198b 100644
--- a/src/_album.svelte
+++ b/src/_album.svelte
@@ -1,5 +1,6 @@
+
+ Use an HTTPS OpenSubsonic-compatible server that allows this app through CORS. The demo uses a fixed library. Reload to reconnect.
+ {session.offlineMode ? "Working offline" : "Connected"} · {session.auth.username}@{new URL(
+ session.auth.host,
+ ).host}
+ Connect your music server
+
{counts.downloaded} - {counts.downloaded === 1 ? "track" : "tracks"} available for offline listening, {counts.pending} - pending + {counts.downloaded === 1 ? "track" : "tracks"} downloaded · {sizeFormatter.format( + savedBytes / 1_000_000, + )} downloaded audio +
++ {counts.pending} pending · {failed.length} failed
+ {#if trackEngine.waitingForConnection && trackEngine.downloadCount} +Paused while working offline
+ {/if}{removalMessage}
{/if} {#if cache.reportingError} @@ -155,7 +205,7 @@ data-variant="secondary" data-size="text" aria-label={`Retry download of ${entry.track.title} (${entry.format.toUpperCase()})`} - disabled={loading || canceling} + disabled={loading || removing || canceling} onclick={() => { void trackEngine.download(entry.track.id, { format: entry.format }); }}>Retry + {/if} @@ -188,3 +247,40 @@ {/if} + + diff --git a/src/_library.svelte b/src/_library.svelte index 297f8ad..372b05c 100644 --- a/src/_library.svelte +++ b/src/_library.svelte @@ -1,297 +1,7 @@ -Loading your library…
- -- {libraryError} -
-Available music is still listed below.
-- {offlineMode - ? "Download music from the library to listen offline." - : "Your server's artists will appear here after synchronization."} -
-- {libraryError || "Add your music server to start listening."} -
-{playback.queueMessage}
{/if} {#if libraryError}Loading your library…
+ +Loading your library…
@@ -379,15 +393,15 @@{cache.savedAt === undefined ? "Add your music server to start searching." - : session.offlineMode - ? "Download music from the library to search offline." + : session.downloadedOnly + ? "Choose All music to browse all saved metadata." : "Your music will appear here after synchronization."}