mirror of
https://github.com/Radarr/Radarr
synced 2025-01-31 11:53:06 +00:00
Fixed: Downloads with un-parsable releases stuck on import
This commit is contained in:
parent
3c7f80612d
commit
40b5702ca6
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue