Fixed: Don't attempt to import downloads that cannot be parsed

Closes #4758
pull/4747/head
Mark McDowall 3 years ago
parent 2601a68cd4
commit ded3f59d2f

@ -110,6 +110,12 @@ namespace NzbDrone.Core.Download
return;
}
if (trackedDownload.RemoteEpisode == null)
{
trackedDownload.Warn("Unable to parse download, automatic import is not possible.");
return;
}
trackedDownload.State = TrackedDownloadState.Importing;
var outputPath = trackedDownload.ImportItem.OutputPath.FullPath;

Loading…
Cancel
Save