Connected Devices: added remote control
This commit is contained in:
1 parent
33fa2346f0
commit
3d3fd20b57
2 files changed
+115
-13
No files matched your search
+8
-1
@@ -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)]
|
||||
|
||||
Reference in new issue
Block a user