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