Refactor return type of the search
This commit is contained in:
@@ -18,14 +18,37 @@ message SearchResponse {
|
||||
|
||||
message SearchItem {
|
||||
string title = 1;
|
||||
string link = 2;
|
||||
string guid = 3;
|
||||
string download_link = 2;
|
||||
string torrent_page_url = 3;
|
||||
string pub_date = 4;
|
||||
int64 size = 5;
|
||||
string description = 6;
|
||||
repeated string categories = 7;
|
||||
Enclosure enclosure = 8;
|
||||
repeated TorznabAttr torznab_attrs = 9;
|
||||
Release release = 10;
|
||||
}
|
||||
|
||||
message Release {
|
||||
string raw_title = 1;
|
||||
string artist = 2;
|
||||
string album = 3;
|
||||
int32 year = 4;
|
||||
int32 year_end = 5;
|
||||
string type = 6;
|
||||
repeated string genres = 7;
|
||||
string format = 8;
|
||||
string source = 9;
|
||||
string bitrate = 10;
|
||||
int32 bit_depth = 11;
|
||||
int32 sample_rate = 12;
|
||||
string rip_type = 13;
|
||||
int32 release_count = 14;
|
||||
repeated string tags = 15;
|
||||
string label = 16;
|
||||
string catalog_num = 17;
|
||||
bool parsed_successfully = 18;
|
||||
repeated string parse_errors = 19;
|
||||
}
|
||||
|
||||
message Enclosure {
|
||||
|
||||
Reference in New Issue
Block a user