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
712 B
Protocol Buffer
28 lines
712 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify.player.proto.state_restore;
|
|
|
|
import "player_license.proto";
|
|
import "state_restore/provided_track.proto";
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message ModRulesInterruptions {
|
|
enum InterruptionSource {
|
|
CONTEXT = 1;
|
|
SAS = 2;
|
|
NO_INTERRUPTIONS = 3;
|
|
}
|
|
|
|
optional ProvidedTrack seek_repeat_track = 1;
|
|
required uint32 prng_seed = 2;
|
|
required bool support_video = 3;
|
|
required bool is_active_action = 4;
|
|
required bool is_in_seek_repeat = 5;
|
|
required bool has_tp_api_restrictions = 6;
|
|
required InterruptionSource interruption_source = 7;
|
|
required PlayerLicense license = 8;
|
|
}
|
|
|