2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-06-19 20:29:48 +00:00
|
|
|
|
|
|
|
syntax = "proto2";
|
|
|
|
|
|
|
|
package spotify.show_cosmos.decorate_request.proto;
|
|
|
|
|
|
|
|
import "metadata/episode_metadata.proto";
|
|
|
|
import "metadata/show_metadata.proto";
|
2021-12-10 19:33:43 +00:00
|
|
|
import "played_state/episode_played_state.proto";
|
2024-12-15 19:51:02 +00:00
|
|
|
import "played_state/show_played_state.proto";
|
2021-06-19 20:29:48 +00:00
|
|
|
import "show_episode_state.proto";
|
|
|
|
import "show_show_state.proto";
|
2024-12-15 19:51:02 +00:00
|
|
|
import "show_offline_state.proto";
|
2021-06-19 20:29:48 +00:00
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
option objc_class_prefix = "SPTShowCosmosDecorate";
|
2021-06-19 20:29:48 +00:00
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message Show {
|
2024-12-15 19:51:02 +00:00
|
|
|
reserved 5;
|
|
|
|
reserved 6;
|
2021-06-19 20:29:48 +00:00
|
|
|
optional cosmos_util.proto.ShowMetadata show_metadata = 1;
|
|
|
|
optional show_cosmos.proto.ShowCollectionState show_collection_state = 2;
|
2024-12-15 19:51:02 +00:00
|
|
|
optional cosmos_util.proto.ShowPlayState show_play_state = 3;
|
2021-06-19 20:29:48 +00:00
|
|
|
optional string link = 4;
|
2024-12-15 19:51:02 +00:00
|
|
|
optional show_cosmos.proto.ShowOfflineState show_offline_state = 7;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message Episode {
|
2024-12-15 19:51:02 +00:00
|
|
|
reserved 6;
|
|
|
|
reserved 7;
|
|
|
|
reserved 8;
|
|
|
|
reserved 9;
|
|
|
|
reserved 10;
|
|
|
|
reserved 11;
|
|
|
|
reserved 12;
|
|
|
|
reserved 13;
|
2021-06-19 20:29:48 +00:00
|
|
|
optional cosmos_util.proto.EpisodeMetadata episode_metadata = 1;
|
|
|
|
optional show_cosmos.proto.EpisodeCollectionState episode_collection_state = 2;
|
|
|
|
optional show_cosmos.proto.EpisodeOfflineState episode_offline_state = 3;
|
2021-12-10 19:33:43 +00:00
|
|
|
optional cosmos_util.proto.EpisodePlayState episode_play_state = 4;
|
2021-06-19 20:29:48 +00:00
|
|
|
optional string link = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Response {
|
|
|
|
repeated Show show = 1;
|
|
|
|
repeated Episode episode = 2;
|
|
|
|
}
|