1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-19 10:54:05 +02:00

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

Closes #4758
This commit is contained in:
Mark McDowall 2021-11-26 19:41:38 -08:00
parent 2601a68cd4
commit ded3f59d2f

View File

@ -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;