mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
31 lines
633 B
Protocol Buffer
31 lines
633 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify.player.proto.state_restore;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message EventList {
|
|
repeated uint64 event_times = 1;
|
|
}
|
|
|
|
message LastEvent {
|
|
required string uri = 1;
|
|
required uint64 when = 2;
|
|
}
|
|
|
|
message History {
|
|
map<string, EventList> when = 1;
|
|
required LastEvent last = 2;
|
|
}
|
|
|
|
message MftState {
|
|
required History track = 1;
|
|
required History social_track = 2;
|
|
required History album = 3;
|
|
required History artist = 4;
|
|
optional EventList skip = 5;
|
|
required uint64 time = 6;
|
|
required bool did_skip = 7;
|
|
}
|