1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-06 03:50:06 +02:00

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
This commit is contained in:
Roderick van Domburg 2021-06-19 22:29:48 +02:00 committed by GitHub
parent 6244515879
commit 113ac94c07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
396 changed files with 10952 additions and 926 deletions

View file

@ -0,0 +1,41 @@
// 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;
}