mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
27 lines
518 B
Protocol Buffer
27 lines
518 B
Protocol Buffer
// Extracted from: Spotify 1.1.73.517 (macOS)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify.player.proto.state_restore;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message SessionJson {
|
|
optional string json = 1;
|
|
}
|
|
|
|
message QueuedSession {
|
|
optional Trigger trigger = 1;
|
|
optional SessionJson session = 2;
|
|
}
|
|
|
|
message PlayerSessionQueue {
|
|
optional SessionJson active = 1;
|
|
repeated SessionJson pushed = 2;
|
|
repeated QueuedSession queued = 3;
|
|
}
|
|
|
|
enum Trigger {
|
|
DID_GO_PAST_TRACK = 1;
|
|
DID_GO_PAST_CONTEXT = 2;
|
|
}
|