mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Update protobuf files (#1424)
* update protobuf definitions * add additionally required proto files * update version.rs * adjust code to protobuf changes * fix formatting * apply suggestions, improve errors
This commit is contained in:
parent
0ad1f7249b
commit
2a574267ae
335 changed files with 3331 additions and 1204 deletions
|
@ -1,18 +1,59 @@
|
|||
// Extracted from: Spotify 1.1.73.517 (macOS)
|
||||
// Extracted from: Spotify 1.2.52.442 (windows)
|
||||
|
||||
syntax = "proto3";
|
||||
|
||||
package spotify.your_library.proto;
|
||||
|
||||
import "your_library_pseudo_playlist_config.proto";
|
||||
import "your_library_config.proto";
|
||||
|
||||
option java_multiple_files = true;
|
||||
option optimize_for = CODE_SIZE;
|
||||
option java_package = "spotify.your_library.esperanto.proto";
|
||||
|
||||
message YourLibraryTagFilter {
|
||||
string tag_uri = 1;
|
||||
}
|
||||
|
||||
message CuratedItems {
|
||||
enum CuratedItemsFilter {
|
||||
NONE = 0;
|
||||
GROUP_BY = 1;
|
||||
ONLY_CURATED = 2;
|
||||
ONLY_NOT_CURATED = 3;
|
||||
}
|
||||
|
||||
repeated string items = 1;
|
||||
CuratedItemsFilter filter = 2;
|
||||
}
|
||||
|
||||
message YourLibraryRequestHeader {
|
||||
bool remaining_entities = 9;
|
||||
bool total_count = 18;
|
||||
string lower_bound = 10;
|
||||
int32 skip = 11;
|
||||
int32 length = 12;
|
||||
string text_filter = 13;
|
||||
YourLibraryFilters filters = 14;
|
||||
YourLibrarySortOrder sort_order = 15;
|
||||
bool all_playlists = 17;
|
||||
repeated int64 fill_folders = 34;
|
||||
bool separate_pinned_items = 22;
|
||||
bool num_link_types_in_playlists = 25;
|
||||
bool ignore_pinning = 26;
|
||||
CuratedItems curated_items = 29;
|
||||
bool include_events = 30;
|
||||
bool include_prereleases = 31;
|
||||
bool include_authors = 33;
|
||||
oneof maybe_folder_id {
|
||||
int64 folder_id = 16;
|
||||
}
|
||||
oneof maybe_tag_filter {
|
||||
.spotify.your_library.proto.YourLibraryTagFilter tag_filter = 24;
|
||||
}
|
||||
}
|
||||
|
||||
message YourLibraryRequest {
|
||||
YourLibraryRequestHeader header = 1;
|
||||
YourLibraryPseudoPlaylistConfig pseudo_playlist_config = 4;
|
||||
int32 update_throttling = 5;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue