librespot/protocol/proto/played_state/show_played_state.proto
2024-12-16 22:57:12 +01:00

29 lines
804 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto2";
package spotify.cosmos_util.proto;
import "played_state/playability_restriction.proto";
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 {
enum Label {
UNKNOWN_LABEL = 0;
NOT_STARTED = 1;
IN_PROGRESS = 2;
COMPLETED = 3;
}
optional string latest_played_episode_link = 1;
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;
}