fn yes() -> bool { true } /// One entry of the queue window. Deliberately flat and small: this crosses /// two hops of IPC on every update — the WebView to Rust, Rust to Kotlin — /// so it carries what a media3 `MediaItem` is built from and nothing else. /// `art_key` is the same kind of key `NowPlaying::art_key` is, the cover's /// path, so whatever decodes a bitmap for the card can key the window's /// covers off the same thing; no bytes ride along here. #[derive(Debug, Clone, Serialize, Deserialize, Default)] #[serde(rename_all = "camelCase")] pub struct QueueItem { /// The track's own id as a string — a library track's is a number, a /// catalog track's is `cat:`, a playlist row's is `pl`. NOT a /// unique key: one queue may hold the same track twice, and a window /// entry is identified by where it sits, not by this. pub id: Option, pub title: Option, pub artist: Option, pub album: Option, pub duration: Option, pub art_key: Option, }