1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 17:59:24 +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,33 @@
// Extracted from: Spotify 1.1.61.583 (Windows)
syntax = "proto3";
package spotify.imageresolve.proto;
option java_multiple_files = true;
option java_outer_classname = "ImageResolveProtos";
option java_package = "com.spotify.imageresolve.proto";
message Collection {
bytes id = 1;
repeated Projection projections = 2;
message Projection {
bytes id = 2;
int32 metadata_index = 3;
int32 url_template_index = 4;
}
}
message ProjectionMetadata {
int32 width = 2;
int32 height = 3;
bool fetch_online = 4;
bool download_for_offline = 5;
}
message ProjectionMap {
repeated string url_templates = 1;
repeated ProjectionMetadata projection_metas = 2;
repeated Collection collections = 3;
}