Connected Devices: added remote control

This commit is contained in:
Ultradesu
2026-07-24 05:42:16 +03:00
parent 3d3fd20b57
commit 888038931a
3 changed files with 106 additions and 30 deletions
+3
View File
@@ -255,6 +255,8 @@ pub struct PlaybackSnapshot {
pub enum PlaybackCommand {
SetState {
state: PlaybackStateWire,
#[serde(default)]
seek: bool,
},
ActiveChanged {
active_device_id: String,
@@ -3527,6 +3529,7 @@ mod tests {
shuffle: false,
repeat: PlaybackRepeat::Off,
},
seek: false,
};
sync.apply_playback_command("dev_other", &command, "op_other")