2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-06-19 20:29:48 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package spotify.automix.proto;
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
message AutomixMode {
|
|
|
|
AutomixStyle style = 1;
|
2021-12-10 19:33:43 +00:00
|
|
|
AutomixConfig config = 2;
|
|
|
|
AutomixConfig ml_config = 3;
|
|
|
|
AutomixConfig shuffle_config = 4;
|
|
|
|
AutomixConfig shuffle_ml_config = 5;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum AutomixStyle {
|
|
|
|
NONE = 0;
|
|
|
|
DEFAULT = 1;
|
|
|
|
REGULAR = 2;
|
|
|
|
AIRBAG = 3;
|
|
|
|
RADIO_AIRBAG = 4;
|
|
|
|
SLEEP = 5;
|
|
|
|
MIXED = 6;
|
2021-12-10 19:33:43 +00:00
|
|
|
CUSTOM = 7;
|
2024-12-15 19:51:02 +00:00
|
|
|
HEURISTIC = 8;
|
|
|
|
BACKEND = 9;
|
2021-12-10 19:33:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
enum TransitionType {
|
|
|
|
CUEPOINTS = 0;
|
|
|
|
CROSSFADE = 1;
|
|
|
|
GAPLESS = 2;
|
2024-12-15 19:51:02 +00:00
|
|
|
HEURISTIC_TRANSITION = 3;
|
|
|
|
BACKEND_TRANSITION = 4;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|