mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +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
66 lines
1.9 KiB
Protocol Buffer
66 lines
1.9 KiB
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify.show_cosmos.proto;
|
|
|
|
import "metadata/episode_metadata.proto";
|
|
import "metadata/show_metadata.proto";
|
|
import "show_episode_state.proto";
|
|
import "show_show_state.proto";
|
|
import "podcast_virality.proto";
|
|
import "transcripts.proto";
|
|
import "podcastextensions.proto";
|
|
import "clips_cover.proto";
|
|
import "show_access.proto";
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message Item {
|
|
optional string header_field = 1;
|
|
optional cosmos_util.proto.EpisodeMetadata episode_metadata = 2;
|
|
optional EpisodeCollectionState episode_collection_state = 3;
|
|
optional EpisodeOfflineState episode_offline_state = 4;
|
|
optional EpisodePlayState episode_play_state = 5;
|
|
optional corex.transcripts.metadata.EpisodeTranscript episode_transcripts = 7;
|
|
optional podcastvirality.v1.PodcastVirality episode_virality = 8;
|
|
|
|
reserved 6;
|
|
}
|
|
|
|
message Header {
|
|
optional cosmos_util.proto.ShowMetadata show_metadata = 1;
|
|
optional ShowCollectionState show_collection_state = 2;
|
|
optional ShowPlayState show_play_state = 3;
|
|
}
|
|
|
|
message Response {
|
|
repeated Item item = 1;
|
|
optional Header header = 2;
|
|
optional uint32 unfiltered_length = 4;
|
|
optional uint32 length = 5;
|
|
optional bool loading_contents = 6;
|
|
optional uint32 unranged_length = 7;
|
|
optional AuxiliarySections auxiliary_sections = 8;
|
|
optional podcast_paywalls.ShowAccess access_info = 9;
|
|
|
|
reserved 3, "online_data";
|
|
}
|
|
|
|
message AuxiliarySections {
|
|
optional ContinueListeningSection continue_listening = 1;
|
|
optional podcast.extensions.PodcastTopics topics_section = 2;
|
|
optional TrailerSection trailer_section = 3;
|
|
optional podcast.extensions.PodcastHtmlDescription html_description_section = 5;
|
|
optional clips.ClipsCover clips_section = 6;
|
|
|
|
reserved 4;
|
|
}
|
|
|
|
message ContinueListeningSection {
|
|
optional Item item = 1;
|
|
}
|
|
|
|
message TrailerSection {
|
|
optional Item item = 1;
|
|
}
|