mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 10:49:40 +02:00

* update protobuf definitions * add additionally required proto files * update version.rs * adjust code to protobuf changes * fix formatting * apply suggestions, improve errors
26 lines
548 B
Protocol Buffer
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;
|
|
}
|
|
|