mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00
38 lines
1.1 KiB
Protocol Buffer
38 lines
1.1 KiB
Protocol Buffer
// Extracted from: Spotify 1.1.73.517 (macOS)
|
|
|
|
syntax = "proto2";
|
|
|
|
package spotify.collection_cosmos.artist_list_request.proto;
|
|
|
|
import "collection/artist_collection_state.proto";
|
|
import "sync/artist_sync_state.proto";
|
|
import "metadata/artist_metadata.proto";
|
|
|
|
option objc_class_prefix = "SPTCollectionCosmosArtistList";
|
|
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.ArtistMetadata artist_metadata = 4;
|
|
optional cosmos_util.proto.ArtistCollectionState artist_collection_state = 5;
|
|
optional cosmos_util.proto.ArtistSyncState artist_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;
|
|
}
|