Layout and search fix
🏗️ Build and Test JellyTau / Run Tests (push) Failing after 2m4s
🏗️ Build and Test JellyTau / Android Compile Check (push) Has been skipped
Traceability Validation / Check Requirement Traces (push) Successful in 23s
Build & Release / Run Tests (push) Failing after 2m45s
Build & Release / Build Linux (push) Has been skipped
Build & Release / Build Android (push) Has been skipped
Build & Release / Create Release (push) Has been skipped
🏗️ Build and Test JellyTau / Run Tests (push) Failing after 2m4s
🏗️ Build and Test JellyTau / Android Compile Check (push) Has been skipped
Traceability Validation / Check Requirement Traces (push) Successful in 23s
Build & Release / Run Tests (push) Failing after 2m45s
Build & Release / Build Linux (push) Has been skipped
Build & Release / Build Android (push) Has been skipped
Build & Release / Create Release (push) Has been skipped
This commit is contained in:
@@ -825,6 +825,19 @@ async syncFullCatalog(handle: string) : Promise<CatalogSyncResult> {
|
||||
async catalogSyncStatus() : Promise<CatalogSyncStatus> {
|
||||
return await TAURI_INVOKE("catalog_sync_status");
|
||||
},
|
||||
/**
|
||||
* Control whether offline library queries reveal the full synced catalog
|
||||
* (greyed-out, non-downloaded media) or only downloaded/local media.
|
||||
*
|
||||
* The frontend calls this from the "Show all server media" toggle: pass `true`
|
||||
* when online, or when offline with the toggle on; pass `false` when offline
|
||||
* with the toggle off so library pages show downloaded media only. Fixes the
|
||||
* bug where offline library pages showed every server item regardless of the
|
||||
* toggle.
|
||||
*/
|
||||
async setShowServerCatalog(show: boolean) : Promise<void> {
|
||||
await TAURI_INVOKE("set_show_server_catalog", { show });
|
||||
},
|
||||
/**
|
||||
* Resolve the stream URL for every download row that was queued while offline
|
||||
* (`status = 'pending' AND stream_url IS NULL`), then pump the queue so they
|
||||
@@ -2035,6 +2048,18 @@ export type PlayerStatusEvent =
|
||||
* Remote sessions updated (for cast/remote control UI)
|
||||
*/
|
||||
{ type: "sessions_updated"; sessions: SessionInfo[] } |
|
||||
/**
|
||||
* The authoritative playback mode changed in the Rust backend.
|
||||
*
|
||||
* The Rust `PlaybackModeManager` is the single source of truth for which
|
||||
* device playback commands route to (local vs a remote session). The
|
||||
* frontend keeps a mirror store for the UI; without this event that mirror
|
||||
* drifts out of sync (e.g. a mode transition happens inside a transfer or a
|
||||
* local stop that the frontend never learns about), and controls then route
|
||||
* to the wrong device — the classic "it keeps playing on the remote" bug.
|
||||
* The frontend reconciles its store to this payload whenever it fires.
|
||||
*/
|
||||
{ type: "playback_mode_changed"; mode: string; session_id: string | null } |
|
||||
/**
|
||||
* The user asked to disconnect from the remote session and resume locally.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user