Fixed: Adding albums with unknown items in queue
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user