librespot/protocol/proto/your_library_index.proto

61 lines
1.2 KiB
Protocol Buffer
Raw Normal View History

// 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;
}