mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +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:
parent
6244515879
commit
113ac94c07
396 changed files with 10952 additions and 926 deletions
43
protocol/proto/rootlist_request.proto
Normal file
43
protocol/proto/rootlist_request.proto
Normal file
|
@ -0,0 +1,43 @@
|
|||
// Extracted from: Spotify 1.1.61.583 (Windows)
|
||||
|
||||
syntax = "proto2";
|
||||
|
||||
package spotify.playlist.cosmos.rootlist_request.proto;
|
||||
|
||||
import "playlist_folder_state.proto";
|
||||
import "playlist_playlist_state.proto";
|
||||
import "protobuf_delta.proto";
|
||||
|
||||
option optimize_for = CODE_SIZE;
|
||||
option java_package = "com.spotify.playlist.proto";
|
||||
|
||||
message Playlist {
|
||||
optional string row_id = 1;
|
||||
optional cosmos.proto.PlaylistMetadata playlist_metadata = 2;
|
||||
optional cosmos.proto.PlaylistOfflineState playlist_offline_state = 3;
|
||||
optional uint32 add_time = 4;
|
||||
optional bool is_on_demand_in_free = 5;
|
||||
optional string group_label = 6;
|
||||
}
|
||||
|
||||
message Item {
|
||||
optional string header_field = 1;
|
||||
optional Folder folder = 2;
|
||||
optional Playlist playlist = 3;
|
||||
optional protobuf_deltas.proto.Delta delta = 4;
|
||||
}
|
||||
|
||||
message Folder {
|
||||
repeated Item item = 1;
|
||||
optional cosmos.proto.FolderMetadata folder_metadata = 2;
|
||||
optional string row_id = 3;
|
||||
optional uint32 add_time = 4;
|
||||
optional string group_label = 5;
|
||||
}
|
||||
|
||||
message Response {
|
||||
optional Folder root = 1;
|
||||
optional int32 unfiltered_length = 2;
|
||||
optional int32 unranged_length = 3;
|
||||
optional bool is_loading_contents = 4;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue