mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
113ac94c07
* Import Spotify 1.1.61.583 (Windows) protobufs * Import Spotify 1.1.33.569 protobufs missing in 1.1.61.583 * Remove unused protobufs, no longer present in 1.1.61.583
40 lines
809 B
Protocol Buffer
40 lines
809 B
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify_playedstate.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
option java_package = "com.spotify.playedstate.proto";
|
|
|
|
message PlayedStateItem {
|
|
optional Type type = 1;
|
|
optional bytes uri = 2;
|
|
optional int64 client_timestamp = 3;
|
|
optional int32 play_position = 4;
|
|
optional bool played = 5;
|
|
optional int32 duration = 6;
|
|
}
|
|
|
|
message PlayedState {
|
|
optional int64 server_timestamp = 1;
|
|
optional bool truncated = 2;
|
|
repeated PlayedStateItem state = 3;
|
|
}
|
|
|
|
message PlayedStateItemList {
|
|
repeated PlayedStateItem state = 1;
|
|
}
|
|
|
|
message ContentId {
|
|
optional Type type = 1;
|
|
optional bytes uri = 2;
|
|
}
|
|
|
|
message ContentIdList {
|
|
repeated ContentId contentIds = 1;
|
|
}
|
|
|
|
enum Type {
|
|
EPISODE = 0;
|
|
}
|