librespot/protocol/proto/state_restore/player_session_queue.proto

27 lines
548 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
2021-12-10 19:33:43 +00:00
syntax = "proto2";
2024-12-15 19:51:02 +00:00
import "state_restore/player_session.proto";
2021-12-10 19:33:43 +00:00
package spotify.player.proto.state_restore;
option optimize_for = CODE_SIZE;
message QueuedSession {
2024-12-15 19:51:02 +00:00
enum Trigger {
DID_GO_PAST_TRACK = 1;
DID_GO_PAST_CONTEXT = 2;
}
optional QueuedSession.Trigger trigger = 1;
optional PlayerSession session = 2;
2021-12-10 19:33:43 +00:00
}
message PlayerSessionQueue {
2024-12-15 19:51:02 +00:00
optional PlayerSession active = 1;
repeated PlayerSession pushed = 2;
2021-12-10 19:33:43 +00:00
repeated QueuedSession queued = 3;
}