mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed: Downloads with un-parsable releases stuck on import
This commit is contained in:
parent
3c7f80612d
commit
40b5702ca6
@ -110,6 +110,14 @@ public void Import(TrackedDownload trackedDownload)
|
||||
trackedDownload.State = TrackedDownloadState.Importing;
|
||||
|
||||
var outputPath = trackedDownload.DownloadItem.OutputPath.FullPath;
|
||||
|
||||
if (trackedDownload.RemoteMovie == null)
|
||||
{
|
||||
trackedDownload.State = TrackedDownloadState.ImportPending;
|
||||
trackedDownload.Warn("Unknown Movie", outputPath);
|
||||
return;
|
||||
}
|
||||
|
||||
var importResults = _downloadedMovieImportService.ProcessPath(outputPath, ImportMode.Auto, trackedDownload.RemoteMovie.Movie, trackedDownload.DownloadItem);
|
||||
|
||||
if (VerifyImport(trackedDownload, importResults))
|
||||
|
Loading…
Reference in New Issue
Block a user