mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
88 lines
1.7 KiB
Protocol Buffer
88 lines
1.7 KiB
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.narration.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message ResolveRequest {
|
|
AudioFormat audio_format = 3;
|
|
enum AudioFormat {
|
|
UNSPECIFIED = 0;
|
|
WAV = 1;
|
|
PCM = 2;
|
|
OPUS = 3;
|
|
VORBIS = 4;
|
|
MP3 = 5;
|
|
}
|
|
|
|
string language = 4;
|
|
|
|
TtsVoice tts_voice = 5;
|
|
enum TtsVoice {
|
|
UNSET_TTS_VOICE = 0;
|
|
VOICE1 = 1;
|
|
VOICE2 = 2;
|
|
VOICE3 = 3;
|
|
VOICE4 = 4;
|
|
VOICE5 = 5;
|
|
VOICE6 = 6;
|
|
VOICE7 = 7;
|
|
VOICE8 = 8;
|
|
VOICE9 = 9;
|
|
VOICE10 = 10;
|
|
VOICE11 = 11;
|
|
VOICE12 = 12;
|
|
VOICE13 = 13;
|
|
VOICE14 = 14;
|
|
VOICE15 = 15;
|
|
VOICE16 = 16;
|
|
VOICE17 = 17;
|
|
VOICE18 = 18;
|
|
VOICE19 = 19;
|
|
VOICE20 = 20;
|
|
VOICE21 = 21;
|
|
VOICE22 = 22;
|
|
VOICE23 = 23;
|
|
VOICE24 = 24;
|
|
VOICE25 = 25;
|
|
VOICE26 = 26;
|
|
VOICE27 = 27;
|
|
VOICE28 = 28;
|
|
VOICE29 = 29;
|
|
VOICE30 = 30;
|
|
VOICE31 = 31;
|
|
VOICE32 = 32;
|
|
VOICE33 = 33;
|
|
VOICE34 = 34;
|
|
VOICE35 = 35;
|
|
VOICE36 = 36;
|
|
VOICE37 = 37;
|
|
VOICE38 = 38;
|
|
VOICE39 = 39;
|
|
VOICE40 = 40;
|
|
}
|
|
|
|
TtsProvider tts_provider = 6;
|
|
enum TtsProvider {
|
|
UNSET_TTS_PROVIDER = 0;
|
|
CLOUD_TTS = 1;
|
|
READSPEAKER = 2;
|
|
POLLY = 3;
|
|
WELL_SAID = 4;
|
|
SONANTIC_DEPRECATED = 5;
|
|
SONANTIC_FAST = 6;
|
|
}
|
|
|
|
int32 sample_rate_hz = 7;
|
|
oneof prompt {
|
|
string text = 1;
|
|
string ssml = 2;
|
|
}
|
|
}
|
|
|
|
message ResolveResponse {
|
|
string url = 1;
|
|
int64 expiry = 2;
|
|
}
|