mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-06-20 05:21:00 +02:00
Fixed: Adding series with unknown items in queue
This commit is contained in:
@@ -25,6 +25,11 @@ namespace NzbDrone.Core.Download.Aggregation
|
||||
|
||||
public RemoteEpisode Augment(RemoteEpisode remoteEpisode)
|
||||
{
|
||||
if (remoteEpisode == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
foreach (var augmenter in _augmenters)
|
||||
{
|
||||
try
|
||||
|
||||
@@ -58,12 +58,12 @@ namespace NzbDrone.Core.Tv
|
||||
}
|
||||
else
|
||||
{
|
||||
if (series.AddOptions.SearchForMissingEpisodes)
|
||||
if (addOptions.SearchForMissingEpisodes)
|
||||
{
|
||||
_commandQueueManager.Push(new MissingEpisodeSearchCommand(series.Id));
|
||||
}
|
||||
|
||||
if (series.AddOptions.SearchForCutoffUnmetEpisodes)
|
||||
if (addOptions.SearchForCutoffUnmetEpisodes)
|
||||
{
|
||||
_commandQueueManager.Push(new CutoffUnmetEpisodeSearchCommand(series.Id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user