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:
parent
ceeec091f8
commit
5bc943583c
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user