librespot/protocol/proto/restrictions.proto
2024-12-16 22:57:12 +01:00

46 lines
1.8 KiB
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
package spotify.player.proto;
option optimize_for = CODE_SIZE;
message ModeRestrictions {
map<string, RestrictionReasons> values = 1;
}
message RestrictionReasons {
repeated string reasons = 1;
}
message Restrictions {
reserved 24;
repeated string disallow_pausing_reasons = 1;
repeated string disallow_resuming_reasons = 2;
repeated string disallow_seeking_reasons = 3;
repeated string disallow_peeking_prev_reasons = 4;
repeated string disallow_peeking_next_reasons = 5;
repeated string disallow_skipping_prev_reasons = 6;
repeated string disallow_skipping_next_reasons = 7;
repeated string disallow_toggling_repeat_context_reasons = 8;
repeated string disallow_toggling_repeat_track_reasons = 9;
repeated string disallow_toggling_shuffle_reasons = 10;
repeated string disallow_set_queue_reasons = 11;
repeated string disallow_interrupting_playback_reasons = 12;
repeated string disallow_transferring_playback_reasons = 13;
repeated string disallow_remote_control_reasons = 14;
repeated string disallow_inserting_into_next_tracks_reasons = 15;
repeated string disallow_inserting_into_context_tracks_reasons = 16;
repeated string disallow_reordering_in_next_tracks_reasons = 17;
repeated string disallow_reordering_in_context_tracks_reasons = 18;
repeated string disallow_removing_from_next_tracks_reasons = 19;
repeated string disallow_removing_from_context_tracks_reasons = 20;
repeated string disallow_updating_context_reasons = 21;
repeated string disallow_add_to_queue_reasons = 22;
repeated string disallow_setting_playback_speed = 23;
map<string, ModeRestrictions> disallow_setting_modes = 25;
map<string, RestrictionReasons> disallow_signals = 26;
}