feat(opendeck): like the playing track and fade before removing a like

This commit is contained in:
ab committed 2026-11-29 05:51:43 +02:00
1 parent 79df5edd8c
commit cc1176a160
25 files changed
+1044 -128

No files matched your search

+8
View File
@@ -107,6 +107,10 @@ pub struct Track {
pub artist: String,
pub album: String,
pub year: Option<i32>,
/// Personal library state for this track. Absent on older servers and
/// when the current item cannot be liked.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub liked: Option<bool>,
/// Opaque reference; clients cannot ask the server to read arbitrary paths.
pub artwork_id: Option<String>,
}
@@ -154,6 +158,10 @@ pub enum Command {
ToggleShuffle,
CycleRepeat,
StartRadio,
SetLiked {
track_key: String,
liked: bool,
},
Transfer {
device_id: String,
},