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;
|
|
|
|
|
|
|
|
import "context_track.proto";
|
|
|
|
import "state_restore/provided_track.proto";
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message StoredInterruption {
|
|
|
|
required ContextTrack context_track = 1;
|
|
|
|
required int64 fetched_at = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ModInterruptionState {
|
|
|
|
optional string context_uri = 1;
|
|
|
|
optional ProvidedTrack last_track = 2;
|
|
|
|
map<string, int32> active_play_count = 3;
|
|
|
|
repeated StoredInterruption active_play_interruptions = 4;
|
|
|
|
repeated StoredInterruption repeat_play_interruptions = 5;
|
|
|
|
}
|