librespot/protocol/proto/metadata/episode_metadata.proto

66 lines
1.6 KiB
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;
2021-12-10 19:33:43 +00:00
import "metadata/extension.proto";
import "metadata/image_group.proto";
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.cosmos.util.proto";
message EpisodeShowMetadata {
optional string link = 1;
optional string name = 2;
optional string publisher = 3;
optional ImageGroup covers = 4;
}
message EpisodeMetadata {
2024-12-15 19:51:02 +00:00
reserved 20;
reserved 21;
optional EpisodeShowMetadata show = 1;
optional string link = 2;
optional string name = 3;
optional uint32 length = 4;
optional ImageGroup covers = 5;
optional string manifest_id = 6;
optional string description = 7;
optional int64 publish_date = 8;
optional ImageGroup freeze_frames = 9;
optional string language = 10;
optional bool available = 11;
2024-12-15 19:51:02 +00:00
optional MediaType media_type_enum = 12;
enum MediaType {
VODCAST = 0;
AUDIO = 1;
VIDEO = 2;
}
2024-12-15 19:51:02 +00:00
optional int32 number = 13;
optional bool backgroundable = 14;
optional string preview_manifest_id = 15;
optional bool is_explicit = 16;
optional string preview_id = 17;
2024-12-15 19:51:02 +00:00
optional EpisodeType episode_type = 18;
enum EpisodeType {
UNKNOWN = 0;
FULL = 1;
TRAILER = 2;
BONUS = 3;
}
2024-12-15 19:51:02 +00:00
optional bool is_music_and_talk = 19;
2021-12-10 19:33:43 +00:00
repeated Extension extension = 22;
optional bool is_19_plus_only = 23;
optional bool is_book_chapter = 24;
2024-12-15 19:51:02 +00:00
optional bool is_podcast_short = 25;
optional bool is_curated = 26;
}
2024-12-15 19:51:02 +00:00