librespot/protocol/proto/prepare_play_options.proto

38 lines
942 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
package spotify.player.proto;
import "context_player_options.proto";
import "player_license.proto";
2021-12-10 19:33:43 +00:00
import "skip_to_track.proto";
option optimize_for = CODE_SIZE;
message PreparePlayOptions {
optional ContextPlayerOptionOverrides player_options_override = 1;
optional PlayerLicense license = 2;
map<string, string> configuration_override = 3;
2021-12-10 19:33:43 +00:00
optional string playback_id = 4;
optional bool always_play_something = 5;
optional SkipToTrack skip_to_track = 6;
optional int64 seek_to = 7;
optional bool initially_paused = 8;
optional bool system_initiated = 9;
repeated string suppressions = 10;
optional PrefetchLevel prefetch_level = 11;
optional string session_id = 12;
optional AudioStream audio_stream = 13;
}
enum PrefetchLevel {
2024-12-15 19:51:02 +00:00
NONE = 0;
MEDIA = 1;
2021-12-10 19:33:43 +00:00
}
enum AudioStream {
2024-12-15 19:51:02 +00:00
DEFAULT = 0;
ALARM = 1;
}