Fixed: Adding albums with unknown items in queue

This commit is contained in:
Mark McDowall
2024-06-17 20:39:13 -07:00
committed by Bogdan
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));
}