mirror of
https://github.com/librespot-org/librespot.git
synced 2024-11-08 16:45:43 +00:00
42 lines
978 B
Protocol Buffer
42 lines
978 B
Protocol Buffer
|
message Track {
|
||
|
optional bytes gid = 0x1;
|
||
|
optional string name = 0x2;
|
||
|
optional bytes image = 0x3;
|
||
|
repeated string artist_name = 0x4;
|
||
|
repeated bytes artist_gid = 0x5;
|
||
|
optional uint32 rank = 0x6;
|
||
|
}
|
||
|
|
||
|
message Artist {
|
||
|
optional bytes gid = 0x1;
|
||
|
optional string name = 0x2;
|
||
|
optional bytes image = 0x3;
|
||
|
optional uint32 rank = 0x6;
|
||
|
}
|
||
|
|
||
|
message Album {
|
||
|
optional bytes gid = 0x1;
|
||
|
optional string name = 0x2;
|
||
|
optional bytes image = 0x3;
|
||
|
repeated string artist_name = 0x4;
|
||
|
repeated bytes artist_gid = 0x5;
|
||
|
optional uint32 rank = 0x6;
|
||
|
}
|
||
|
|
||
|
message Playlist {
|
||
|
optional string uri = 0x1;
|
||
|
optional string name = 0x2;
|
||
|
optional string image_uri = 0x3;
|
||
|
optional string owner_name = 0x4;
|
||
|
optional string owner_uri = 0x5;
|
||
|
optional uint32 rank = 0x6;
|
||
|
}
|
||
|
|
||
|
message Suggestions {
|
||
|
repeated Track track = 0x1;
|
||
|
repeated Album album = 0x2;
|
||
|
repeated Artist artist = 0x3;
|
||
|
repeated Playlist playlist = 0x4;
|
||
|
}
|
||
|
|