Update protobuf definition

This commit is contained in:
Paul Lietar 2016-05-03 10:04:54 +01:00
parent 7a21287311
commit 8d8aad8191
2 changed files with 7 additions and 7 deletions

View file

@ -152,11 +152,11 @@ message AudioFile {
MP3_320 = 0x4; MP3_320 = 0x4;
MP3_160 = 0x5; MP3_160 = 0x5;
MP3_96 = 0x6; MP3_96 = 0x6;
OTHER = 0x7; MP3_160_ENC = 0x7;
OTHER2 = 0x8; OTHER2 = 0x8;
OTHER3 = 0x9; OTHER3 = 0x9;
OTHER4 = 0xa; AAC_160 = 0xa;
OTHER5 = 0xb; AAC_320 = 0xb;
} }
} }

View file

@ -12,6 +12,7 @@ message Frame {
optional int64 state_update_id = 0x11; optional int64 state_update_id = 0x11;
repeated string recipient = 0x12; repeated string recipient = 0x12;
optional bytes context_player_state = 0x13; optional bytes context_player_state = 0x13;
optional string new_name = 0x14;
} }
enum MessageType { enum MessageType {
@ -34,6 +35,7 @@ enum MessageType {
kMessageTypeReplace = 0x21; kMessageTypeReplace = 0x21;
kMessageTypeLogout = 0x22; kMessageTypeLogout = 0x22;
kMessageTypeAction = 0x23; kMessageTypeAction = 0x23;
kMessageTypeRename = 0x24;
} }
message DeviceState { message DeviceState {
@ -46,8 +48,6 @@ message DeviceState {
optional int64 became_active_at = 0xf; optional int64 became_active_at = 0xf;
optional string error_message = 0x10; optional string error_message = 0x10;
repeated Capability capabilities = 0x11; repeated Capability capabilities = 0x11;
repeated string local_uris = 0x12;
repeated int32 enc_key = 0x13;
} }
message Capability { message Capability {
@ -67,7 +67,7 @@ enum CapabilityType {
kVolumeSteps = 0x8; kVolumeSteps = 0x8;
kSupportedTypes = 0x9; kSupportedTypes = 0x9;
kCommandAcks = 0xa; kCommandAcks = 0xa;
kUnknown = 0xb; kSupportsRename = 0xb;
} }
message Goodbye { message Goodbye {