fix: match 'completed' download state and prefer format over quality
The API returns download.state='completed' but convert_album only
matched 'downloaded', causing monitored+downloaded albums to display
as Wanted with 0 tracks. Also prefer download.format ('FLAC') over
download.quality (empty) for the quality display.
This commit is contained in:
@@ -16,6 +16,10 @@ pub struct IndexerOptions {
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct MonitorAlbumResponse {
|
||||
#[prost(message, optional, tag = "1")]
|
||||
pub album: ::core::option::Option<AlbumDetail>,
|
||||
#[prost(message, optional, tag = "2")]
|
||||
pub artist: ::core::option::Option<ArtistSummary>,
|
||||
#[prost(message, optional, tag = "3")]
|
||||
pub release: ::core::option::Option<MonitoredRelease>,
|
||||
}
|
||||
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
|
||||
|
||||
Reference in New Issue
Block a user