mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
c6327af2f3
A build script is used to ensure the source files haven’t been modified.
43 lines
998 B
Protocol Buffer
43 lines
998 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
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;
|
|
}
|
|
|