-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathSetStateMessage.proto
More file actions
executable file
·35 lines (31 loc) · 957 Bytes
/
SetStateMessage.proto
File metadata and controls
executable file
·35 lines (31 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
syntax = "proto2";
import "ProtocolMessage.proto";
import "NowPlayingInfo.proto";
import "SupportedCommands.proto";
import "PlayerPath.proto";
import "PlaybackQueue.proto";
import "PlaybackQueueRequestMessage.proto";
import "PlaybackQueueCapabilities.proto";
extend ProtocolMessage {
optional SetStateMessage setStateMessage = 9;
}
message SetStateMessage {
enum PlaybackState {
Unknown = 0;
Playing = 1;
Paused = 2;
Stopped = 3;
Interrupted = 4;
Seeking = 5;
}
optional NowPlayingInfo nowPlayingInfo = 1;
optional SupportedCommands supportedCommands = 2;
optional PlaybackQueue playbackQueue = 3;
optional string displayID = 4;
optional string displayName = 5;
optional PlaybackState playbackState = 6;
optional PlaybackQueueCapabilities playbackQueueCapabilities = 8;
optional PlayerPath playerPath = 9;
optional PlaybackQueueRequestMessage request = 10;
optional double playbackStateTimestamp = 11;
}