mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 20:42:19 -07:00
Fixed: Adding albums with unknown items in queue
This commit is contained in:
parent
07db508580
commit
8c99280f07
2 changed files with 6 additions and 1 deletions
|
@ -25,6 +25,11 @@ namespace NzbDrone.Core.Download.Aggregation
|
|||
|
||||
public RemoteAlbum Augment(RemoteAlbum remoteAlbum)
|
||||
{
|
||||
if (remoteAlbum == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
foreach (var augmenter in _augmenters)
|
||||
{
|
||||
try
|
||||
|
|
|
@ -47,7 +47,7 @@ namespace NzbDrone.Core.Music
|
|||
|
||||
_eventAggregator.PublishEvent(new ArtistAddCompletedEvent(artist));
|
||||
|
||||
if (artist.AddOptions.SearchForMissingAlbums)
|
||||
if (addOptions.SearchForMissingAlbums)
|
||||
{
|
||||
_commandQueueManager.Push(new MissingAlbumSearchCommand(artist.Id));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue