src/lib/protos/SetStateMessage.proto
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;
}