1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-17 21:26:13 -04: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;