1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 09:49:31 +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,37 @@
// Extracted from: Spotify 1.1.61.583 (Windows)
syntax = "proto2";
package spotify.collection_cosmos.album_list_request.proto;
import "collection/album_collection_state.proto";
import "sync/album_sync_state.proto";
import "metadata/album_metadata.proto";
option optimize_for = CODE_SIZE;
message Item {
optional string header_field = 1;
optional uint32 index = 2;
optional uint32 add_time = 3;
optional cosmos_util.proto.AlbumMetadata album_metadata = 4;
optional cosmos_util.proto.AlbumCollectionState album_collection_state = 5;
optional cosmos_util.proto.AlbumSyncState album_offline_state = 6;
optional string group_label = 7;
}
message GroupHeader {
optional string header_field = 1;
optional uint32 index = 2;
optional uint32 length = 3;
}
message Response {
repeated Item item = 1;
optional uint32 unfiltered_length = 2;
optional uint32 unranged_length = 3;
optional bool loading_contents = 4;
optional string offline = 5;
optional uint32 sync_progress = 6;
repeated GroupHeader group_index = 7;
}