1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 17:59:24 +02:00
librespot/protocol/proto/podcast_ad_segments.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

35 lines
768 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.ads.formats;
option objc_class_prefix = "SPT";
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
option java_outer_classname = "PodcastAdsProto";
option java_package = "com.spotify.ads.formats.proto";
message PodcastAds {
repeated string file_ids = 1;
repeated string manifest_ids = 2;
repeated Segment segments = 3;
string request_id = 4;
}
message Segment {
Slot slot = 1;
int32 start_ms = 2;
int32 stop_ms = 3;
}
enum Slot {
UNKNOWN = 0;
PODCAST_PREROLL = 1;
PODCAST_POSTROLL = 2;
PODCAST_MIDROLL_1 = 3;
PODCAST_MIDROLL_2 = 4;
PODCAST_MIDROLL_3 = 5;
PODCAST_MIDROLL_4 = 6;
PODCAST_MIDROLL_5 = 7;
}