Expand GetArtists with album details, download info, and generic MonitorState enum

This commit is contained in:
Alexander
2026-05-08 23:00:42 +02:00
parent e49cc25372
commit e61e58be72
6 changed files with 169 additions and 62 deletions
+29 -6
View File
@@ -33,11 +33,11 @@ message GetArtistsResponse {
repeated ArtistSummary artists = 1;
}
enum ArtistMonitorState {
ARTIST_MONITOR_STATE_UNSPECIFIED = 0;
ARTIST_MONITOR_STATE_MONITORED = 1;
ARTIST_MONITOR_STATE_UNMONITORED = 2;
ARTIST_MONITOR_STATE_EXCLUDED = 3;
enum MonitorState {
MONITOR_STATE_UNSPECIFIED = 0;
MONITOR_STATE_MONITORED = 1;
MONITOR_STATE_UNMONITORED = 2;
MONITOR_STATE_EXCLUDED = 3;
}
message ArtistSummary {
@@ -48,7 +48,30 @@ message ArtistSummary {
string country = 5;
repeated string genres = 6;
string image_url = 7;
ArtistMonitorState monitor_state = 8;
MonitorState monitor_state = 8;
repeated AlbumDetail albums = 9;
}
message AlbumDetail {
string id = 1;
string external_id = 2;
string title = 3;
string album_type = 4;
string release_date = 5;
int32 total_tracks = 6;
int32 total_discs = 7;
string cover_url = 8;
repeated string genres = 9;
string label = 10;
MonitorState monitor_state = 11;
DownloadInfo download = 12;
}
message DownloadInfo {
string state = 1;
string format = 2;
string quality = 3;
string save_path = 4;
}
message MonitoredRelease {