Implement MonitorAlbum: search, parse, filter by quality, add best to qbittorrent

This commit is contained in:
Alexander
2026-05-07 23:21:21 +02:00
parent 79f3f145de
commit 8ad2734964
16 changed files with 1479 additions and 59 deletions
+35 -5
View File
@@ -9,10 +9,40 @@ service MusicAgregatorService {
message MonitorAlbumRequest {
string album_id = 1;
IndexerOptions indexer_options = 2;
message IndexerOptions {
string tracker = 1;
}
QualityType quality = 3;
}
message MonitorAlbumResponse {}
message IndexerOptions {
string tracker = 1;
}
enum QualityType {
QUALITY_UNSPECIFIED = 0;
QUALITY_LOSSLESS = 1;
QUALITY_LOSSY = 2;
}
message MonitorAlbumResponse {
MonitoredRelease release = 1;
}
message MonitoredRelease {
string info_hash = 1;
string artist = 2;
string album = 3;
int32 year = 4;
string format = 5;
bool lossless = 6;
int32 bit_depth = 7;
int32 sample_rate = 8;
string source = 9;
int32 track_count = 10;
repeated string track_names = 11;
bool has_cover_art = 12;
bool has_cue_sheet = 13;
bool has_rip_log = 14;
int64 total_audio_size = 15;
string download_link = 16;
int32 seeders = 17;
string tracker = 18;
}