diff --git a/proto/metadata.proto b/proto/metadata.proto index 2115bbf..6ff80f7 100644 --- a/proto/metadata.proto +++ b/proto/metadata.proto @@ -297,6 +297,10 @@ message AudioFile { AAC_24 = 8; AAC_48 = 9; FLAC_FLAC = 16; + XHE_AAC_24 = 18; + XHE_AAC_16 = 19; + XHE_AAC_12 = 20; + FLAC_FLAC_24BIT = 22; } } diff --git a/proto/spotify/metadata/metadata.pb.go b/proto/spotify/metadata/metadata.pb.go index 3a5ad00..aa21b8c 100644 --- a/proto/spotify/metadata/metadata.pb.go +++ b/proto/spotify/metadata/metadata.pb.go @@ -578,17 +578,21 @@ func (Restriction_Type) EnumDescriptor() ([]byte, []int) { type AudioFile_Format int32 const ( - AudioFile_OGG_VORBIS_96 AudioFile_Format = 0 - AudioFile_OGG_VORBIS_160 AudioFile_Format = 1 - AudioFile_OGG_VORBIS_320 AudioFile_Format = 2 - AudioFile_MP3_256 AudioFile_Format = 3 - AudioFile_MP3_320 AudioFile_Format = 4 - AudioFile_MP3_160 AudioFile_Format = 5 - AudioFile_MP3_96 AudioFile_Format = 6 - AudioFile_MP3_160_ENC AudioFile_Format = 7 - AudioFile_AAC_24 AudioFile_Format = 8 - AudioFile_AAC_48 AudioFile_Format = 9 - AudioFile_FLAC_FLAC AudioFile_Format = 16 + AudioFile_OGG_VORBIS_96 AudioFile_Format = 0 + AudioFile_OGG_VORBIS_160 AudioFile_Format = 1 + AudioFile_OGG_VORBIS_320 AudioFile_Format = 2 + AudioFile_MP3_256 AudioFile_Format = 3 + AudioFile_MP3_320 AudioFile_Format = 4 + AudioFile_MP3_160 AudioFile_Format = 5 + AudioFile_MP3_96 AudioFile_Format = 6 + AudioFile_MP3_160_ENC AudioFile_Format = 7 + AudioFile_AAC_24 AudioFile_Format = 8 + AudioFile_AAC_48 AudioFile_Format = 9 + AudioFile_FLAC_FLAC AudioFile_Format = 16 + AudioFile_XHE_AAC_24 AudioFile_Format = 18 + AudioFile_XHE_AAC_16 AudioFile_Format = 19 + AudioFile_XHE_AAC_12 AudioFile_Format = 20 + AudioFile_FLAC_FLAC_24BIT AudioFile_Format = 22 ) // Enum value maps for AudioFile_Format. @@ -605,19 +609,27 @@ var ( 8: "AAC_24", 9: "AAC_48", 16: "FLAC_FLAC", + 18: "XHE_AAC_24", + 19: "XHE_AAC_16", + 20: "XHE_AAC_12", + 22: "FLAC_FLAC_24BIT", } AudioFile_Format_value = map[string]int32{ - "OGG_VORBIS_96": 0, - "OGG_VORBIS_160": 1, - "OGG_VORBIS_320": 2, - "MP3_256": 3, - "MP3_320": 4, - "MP3_160": 5, - "MP3_96": 6, - "MP3_160_ENC": 7, - "AAC_24": 8, - "AAC_48": 9, - "FLAC_FLAC": 16, + "OGG_VORBIS_96": 0, + "OGG_VORBIS_160": 1, + "OGG_VORBIS_320": 2, + "MP3_256": 3, + "MP3_320": 4, + "MP3_160": 5, + "MP3_96": 6, + "MP3_160_ENC": 7, + "AAC_24": 8, + "AAC_48": 9, + "FLAC_FLAC": 16, + "XHE_AAC_24": 18, + "XHE_AAC_16": 19, + "XHE_AAC_12": 20, + "FLAC_FLAC_24BIT": 22, } ) @@ -3277,13 +3289,13 @@ var file_metadata_proto_rawDesc = []byte{ 0x6e, 0x64, 0x22, 0x30, 0x0a, 0x0a, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x02, 0x69, 0x64, 0x22, 0x91, 0x02, 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, + 0x52, 0x02, 0x69, 0x64, 0x22, 0xd6, 0x02, 0x0a, 0x09, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, - 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xae, 0x01, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, + 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xf3, 0x01, 0x0a, 0x06, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x47, 0x47, 0x5f, 0x56, 0x4f, 0x52, 0x42, 0x49, 0x53, 0x5f, 0x39, 0x36, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x47, 0x47, 0x5f, 0x56, 0x4f, 0x52, 0x42, 0x49, 0x53, 0x5f, 0x31, 0x36, 0x30, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4f, 0x47, 0x47, @@ -3294,16 +3306,20 @@ var file_metadata_proto_rawDesc = []byte{ 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x50, 0x33, 0x5f, 0x31, 0x36, 0x30, 0x5f, 0x45, 0x4e, 0x43, 0x10, 0x07, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x41, 0x43, 0x5f, 0x32, 0x34, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x41, 0x43, 0x5f, 0x34, 0x38, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x4c, 0x41, - 0x43, 0x5f, 0x46, 0x4c, 0x41, 0x43, 0x10, 0x10, 0x22, 0x24, 0x0a, 0x09, 0x56, 0x69, 0x64, 0x65, - 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x22, 0x3b, - 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, - 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x42, 0x25, 0x5a, 0x23, 0x67, - 0x6f, 0x2d, 0x6c, 0x69, 0x62, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2f, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, + 0x43, 0x5f, 0x46, 0x4c, 0x41, 0x43, 0x10, 0x10, 0x12, 0x0e, 0x0a, 0x0a, 0x58, 0x48, 0x45, 0x5f, + 0x41, 0x41, 0x43, 0x5f, 0x32, 0x34, 0x10, 0x12, 0x12, 0x0e, 0x0a, 0x0a, 0x58, 0x48, 0x45, 0x5f, + 0x41, 0x41, 0x43, 0x5f, 0x31, 0x36, 0x10, 0x13, 0x12, 0x0e, 0x0a, 0x0a, 0x58, 0x48, 0x45, 0x5f, + 0x41, 0x41, 0x43, 0x5f, 0x31, 0x32, 0x10, 0x14, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x4c, 0x41, 0x43, + 0x5f, 0x46, 0x4c, 0x41, 0x43, 0x5f, 0x32, 0x34, 0x42, 0x49, 0x54, 0x10, 0x16, 0x22, 0x24, 0x0a, + 0x09, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x69, + 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x66, 0x69, 0x6c, + 0x65, 0x49, 0x64, 0x22, 0x3b, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x61, + 0x74, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, + 0x42, 0x25, 0x5a, 0x23, 0x67, 0x6f, 0x2d, 0x6c, 0x69, 0x62, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x74, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2f, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, } var (