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

26 lines
548 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
import "state_restore/player_session.proto";
package spotify.player.proto.state_restore;
option optimize_for = CODE_SIZE;
message QueuedSession {
enum Trigger {
DID_GO_PAST_TRACK = 1;
DID_GO_PAST_CONTEXT = 2;
}
optional QueuedSession.Trigger trigger = 1;
optional PlayerSession session = 2;
}
message PlayerSessionQueue {
optional PlayerSession active = 1;
repeated PlayerSession pushed = 2;
repeated QueuedSession queued = 3;
}