librespot/protocol/proto/played_state/show_played_state.proto

30 lines
804 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
package spotify.cosmos_util.proto;
2024-12-15 19:51:02 +00:00
import "played_state/playability_restriction.proto";
2021-12-10 19:33:43 +00:00
option objc_class_prefix = "SPTCosmosUtil";
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.cosmos.util.proto";
message ShowPlayState {
2024-12-15 19:51:02 +00:00
enum Label {
UNKNOWN_LABEL = 0;
NOT_STARTED = 1;
IN_PROGRESS = 2;
COMPLETED = 3;
}
optional string latest_played_episode_link = 1;
2024-12-15 19:51:02 +00:00
optional uint64 played_time = 2;
optional bool is_playable = 3;
optional PlayabilityRestriction playability_restriction = 4 [default = UNKNOWN];
optional Label label = 5;
optional uint32 played_percentage = 6;
optional string resume_episode_link = 7;
}