1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-23 02:05:27 +02:00

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 committed by Mark McDowall
parent ceeec091f8
commit 5bc943583c

View File

@ -567,7 +567,7 @@ public void Execute(ManualImportCommand message)
_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())
{