1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 17:59:24 +02:00
librespot/protocol/proto/state_restore/mod_rules_interruptions.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

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;
}