mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
45 lines
874 B
Protocol Buffer
45 lines
874 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.automix.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message AutomixConfig {
|
|
TransitionType transition_type = 1;
|
|
string fade_out_curves = 2;
|
|
string fade_in_curves = 3;
|
|
int32 beats_min = 4;
|
|
int32 beats_max = 5;
|
|
int32 fade_duration_max_ms = 6;
|
|
}
|
|
|
|
message AutomixMode {
|
|
AutomixStyle style = 1;
|
|
AutomixConfig config = 2;
|
|
AutomixConfig ml_config = 3;
|
|
AutomixConfig shuffle_config = 4;
|
|
AutomixConfig shuffle_ml_config = 5;
|
|
}
|
|
|
|
enum AutomixStyle {
|
|
NONE = 0;
|
|
DEFAULT = 1;
|
|
REGULAR = 2;
|
|
AIRBAG = 3;
|
|
RADIO_AIRBAG = 4;
|
|
SLEEP = 5;
|
|
MIXED = 6;
|
|
CUSTOM = 7;
|
|
HEURISTIC = 8;
|
|
BACKEND = 9;
|
|
}
|
|
|
|
enum TransitionType {
|
|
CUEPOINTS = 0;
|
|
CROSSFADE = 1;
|
|
GAPLESS = 2;
|
|
HEURISTIC_TRANSITION = 3;
|
|
BACKEND_TRANSITION = 4;
|
|
}
|