mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-26 15:52:42 +00:00
Fixed: Only look for monitored albums on artist search
This commit is contained in:
parent
bef04af5cd
commit
443e536005
1 changed files with 2 additions and 0 deletions
|
@ -58,6 +58,8 @@ public List<DownloadDecision> ArtistSearch(Artist artist, bool missingOnly, bool
|
|||
var searchSpec = Get<ArtistSearchCriteria>(artist, userInvokedSearch, interactiveSearch);
|
||||
var albums = _albumService.GetAlbumsByArtist(artist.Id);
|
||||
|
||||
albums = albums.Where(a => a.Monitored).ToList();
|
||||
|
||||
searchSpec.Albums = albums;
|
||||
|
||||
return Dispatch(indexer => indexer.Fetch(searchSpec), searchSpec);
|
||||
|
|
Loading…
Reference in a new issue