librespot/protocol/proto/your_library_response.proto

49 lines
1.2 KiB
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.your_library.proto;
2021-12-10 19:33:43 +00:00
import "your_library_decorated_entity.proto";
2024-12-15 19:51:02 +00:00
import "your_library_config.proto";
2024-12-15 19:51:02 +00:00
option java_multiple_files = true;
2021-12-10 19:33:43 +00:00
option optimize_for = CODE_SIZE;
2024-12-15 19:51:02 +00:00
option java_package = "spotify.your_library.esperanto.proto";
message YourLibraryTagPlaylist {
string name = 1;
string uri = 2;
string description = 3;
string image_uri = 4;
proto.Offline.Availability offline_availability = 5;
bool is_curated = 6;
bool is_loading = 7;
}
message YourLibraryTagInfo {
string tag_name = 1;
bool is_added = 5;
YourLibraryTagPlaylist tag_playlist_info = 7;
}
message YourLibraryResponseHeader {
int32 remaining_entities = 9;
2024-12-15 19:51:02 +00:00
int32 total_count = 17;
int32 pin_count = 18;
int32 maximum_pinned_items = 19;
bool is_loading = 12;
2021-12-10 19:33:43 +00:00
string folder_name = 15;
2024-12-15 19:51:02 +00:00
string parent_folder_uri = 20;
YourLibraryFilters available_filters = 16;
YourLibraryTagInfo tag_info = 21;
}
message YourLibraryResponse {
YourLibraryResponseHeader header = 1;
2021-12-10 19:33:43 +00:00
repeated YourLibraryDecoratedEntity entity = 2;
2024-12-15 19:51:02 +00:00
repeated YourLibraryDecoratedEntity pinned_entity = 3;
int32 status_code = 98;
string error = 99;
}