syntax = "proto2";

import "pyatv/mrp/protobuf/ProtocolMessage.proto";
import "pyatv/mrp/protobuf/NowPlayingInfo.proto";
import "pyatv/mrp/protobuf/PlaybackQueue.proto";
import "pyatv/mrp/protobuf/SupportedCommands.proto";
import "pyatv/mrp/protobuf/PlaybackQueueCapabilities.proto";
import "pyatv/mrp/protobuf/PlayerPath.proto";
import "pyatv/mrp/protobuf/PlaybackQueueRequestMessage.proto";
import "pyatv/mrp/protobuf/Common.proto";

extend ProtocolMessage {
  optional SetDefaultSupportedCommandsMessage setDefaultSupportedCommandsMessage = 75;
}

// Seems to be the same as SetStateMessage
message SetDefaultSupportedCommandsMessage {
  optional NowPlayingInfo nowPlayingInfo = 1;
  optional SupportedCommands supportedCommands = 2;
  optional PlaybackQueue playbackQueue = 3;
  optional string displayID = 4;
  optional string displayName = 5;
  optional PlaybackState.Enum playbackState = 6;
  optional PlaybackQueueCapabilities playbackQueueCapabilities = 8;
  optional PlayerPath playerPath = 9;
  optional PlaybackQueueRequestMessage request = 10;
  optional double playbackStateTimestamp = 11;
}
