mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00

* update protobuf definitions * add additionally required proto files * update version.rs * adjust code to protobuf changes * fix formatting * apply suggestions, improve errors
28 lines
713 B
Protocol Buffer
28 lines
713 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.player.esperanto.proto;
|
|
|
|
import "es_command_options.proto";
|
|
import "es_logging_params.proto";
|
|
import "es_play_options.proto";
|
|
import "es_prepare_play.proto";
|
|
|
|
option objc_class_prefix = "ESP";
|
|
option optimize_for = CODE_SIZE;
|
|
option java_package = "com.spotify.player.esperanto.proto";
|
|
|
|
message PlayRequest {
|
|
PreparePlayRequest prepare_play_request = 1;
|
|
PlayOptions play_options = 2;
|
|
CommandOptions options = 3;
|
|
LoggingParams logging_params = 4;
|
|
}
|
|
|
|
message PlayPreparedRequest {
|
|
string session_id = 1;
|
|
PlayOptions play_options = 2;
|
|
CommandOptions options = 3;
|
|
LoggingParams logging_params = 4;
|
|
}
|