Connected Devices: added remote control

This commit is contained in:
Ultradesu
2026-07-24 05:31:29 +03:00
parent 33fa2346f0
commit 3d3fd20b57
2 changed files with 115 additions and 13 deletions
+8 -1
View File
@@ -253,7 +253,14 @@ pub struct PlaybackSnapshot {
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
#[serde(tag = "kind", rename_all = "snake_case")]
pub enum PlaybackCommand {
SetState { state: PlaybackStateWire },
SetState {
state: PlaybackStateWire,
},
ActiveChanged {
active_device_id: String,
active_device_name: String,
state: PlaybackStateWire,
},
}
#[derive(Debug, Clone, Default)]