librespot/protocol/proto/playlist_annotate3.proto
Roderick van Domburg 113ac94c07
Update protobufs (#796)
* 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
2021-06-19 22:29:48 +02:00

42 lines
1 KiB
Protocol Buffer

// Extracted from: Spotify 1.1.33.569 (Windows)
syntax = "proto2";
package spotify_playlist_annotate3.proto;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.playlist_annotate3.proto";
message TakedownRequest {
optional AbuseReportState abuse_report_state = 1;
}
message AnnotateRequest {
optional string description = 1;
optional string image_uri = 2;
}
message TranscodedPicture {
optional string target_name = 1;
optional string uri = 2;
}
message PlaylistAnnotation {
optional string description = 1;
optional string picture = 2;
optional RenderFeatures deprecated_render_features = 3 [default = NORMAL_FEATURES, deprecated = true];
repeated TranscodedPicture transcoded_picture = 4;
optional bool is_abuse_reporting_enabled = 6 [default = true];
optional AbuseReportState abuse_report_state = 7 [default = OK];
}
enum RenderFeatures {
NORMAL_FEATURES = 1;
EXTENDED_FEATURES = 2;
}
enum AbuseReportState {
OK = 0;
TAKEN_DOWN = 1;
}