1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 09:49:31 +02:00
librespot/protocol/proto/played_state.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

23 lines
592 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
package spotify.played_state.proto;
option optimize_for = CODE_SIZE;
message PlayedStateItem {
optional string show_uri = 1;
optional string episode_uri = 2;
optional int32 resume_point = 3;
optional int32 last_played_at = 4;
optional bool is_latest = 5;
optional bool has_been_fully_played = 6;
optional bool has_been_synced = 7;
optional int32 episode_length = 8;
}
message PlayedStateItems {
repeated PlayedStateItem item = 1;
optional uint64 last_server_sync_timestamp = 2;
}