mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
113ac94c07
* Import Spotify 1.1.61.583 (Windows) protobufs * Import Spotify 1.1.33.569 protobufs missing in 1.1.61.583 * Remove unused protobufs, no longer present in 1.1.61.583
49 lines
896 B
Protocol Buffer
49 lines
896 B
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.narration_injection.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
service TtsResolveService {
|
|
rpc Resolve(ResolveRequest) returns (ResolveResponse);
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
TtsProvider tts_provider = 6;
|
|
enum TtsProvider {
|
|
UNSET_TTS_PROVIDER = 0;
|
|
CLOUD_TTS = 1;
|
|
READSPEAKER = 2;
|
|
}
|
|
|
|
oneof prompt {
|
|
string text = 1;
|
|
string ssml = 2;
|
|
}
|
|
}
|
|
|
|
message ResolveResponse {
|
|
string url = 1;
|
|
}
|