librespot/protocol/proto/state_restore/mft_state.proto

32 lines
633 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";
package spotify.player.proto.state_restore;
option optimize_for = CODE_SIZE;
message EventList {
2024-12-15 19:51:02 +00:00
repeated uint64 event_times = 1;
2021-12-10 19:33:43 +00:00
}
message LastEvent {
required string uri = 1;
2024-12-15 19:51:02 +00:00
required uint64 when = 2;
2021-12-10 19:33:43 +00:00
}
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;
2024-12-15 19:51:02 +00:00
optional EventList skip = 5;
required uint64 time = 6;
2021-12-10 19:33:43 +00:00
required bool did_skip = 7;
}