mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
113ac94c07
* 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
60 lines
1.2 KiB
Protocol Buffer
60 lines
1.2 KiB
Protocol Buffer
// Extracted from: Spotify 1.1.61.583 (Windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.your_library.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message YourLibraryArtistEntity {
|
|
string uri = 1;
|
|
string name = 2;
|
|
string image_uri = 3;
|
|
int64 add_time = 4;
|
|
}
|
|
|
|
message YourLibraryRootlistPlaylist {
|
|
string image_uri = 1;
|
|
bool is_on_demand_in_free = 2;
|
|
bool is_loading = 3;
|
|
int32 rootlist_index = 4;
|
|
}
|
|
|
|
message YourLibraryRootlistFolder {
|
|
int32 number_of_playlists = 1;
|
|
int32 number_of_folders = 2;
|
|
int32 rootlist_index = 3;
|
|
}
|
|
|
|
message YourLibraryRootlistCollection {
|
|
Kind kind = 1;
|
|
enum Kind {
|
|
LIKED_SONGS = 0;
|
|
YOUR_EPISODES = 1;
|
|
NEW_EPISODES = 2;
|
|
LOCAL_FILES = 3;
|
|
}
|
|
}
|
|
|
|
message YourLibraryRootlistEntity {
|
|
string uri = 1;
|
|
string name = 2;
|
|
string creator_name = 3;
|
|
int64 add_time = 4;
|
|
|
|
oneof entity {
|
|
YourLibraryRootlistPlaylist playlist = 5;
|
|
YourLibraryRootlistFolder folder = 6;
|
|
YourLibraryRootlistCollection collection = 7;
|
|
}
|
|
}
|
|
|
|
message YourLibraryShowEntity {
|
|
string uri = 1;
|
|
string name = 2;
|
|
string creator_name = 3;
|
|
string image_uri = 4;
|
|
int64 add_time = 5;
|
|
bool is_music_and_talk = 6;
|
|
int64 publish_date = 7;
|
|
}
|