Don't try to process items that didn't import in manual import

This commit is contained in:
Mark McDowall 2024-11-10 15:22:16 -08:00
parent 80a3246ea2
commit af0d835418
1 changed files with 1 additions and 1 deletions

View File

@ -567,7 +567,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
_logger.ProgressTrace("Manually imported {0} files", imported.Count);
}
var untrackedImports = imported.Where(i => importedTrackedDownload.FirstOrDefault(t => t.ImportResult != i) == null).ToList();
var untrackedImports = imported.Where(i => i.Result == ImportResultType.Imported && importedTrackedDownload.FirstOrDefault(t => t.ImportResult != i) == null).ToList();
if (untrackedImports.Any())
{