mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01: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;
|
trackedDownload.State = TrackedDownloadState.Importing;
|
||||||
|
|
||||||
var outputPath = trackedDownload.DownloadItem.OutputPath.FullPath;
|
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);
|
var importResults = _downloadedMovieImportService.ProcessPath(outputPath, ImportMode.Auto, trackedDownload.RemoteMovie.Movie, trackedDownload.DownloadItem);
|
||||||
|
|
||||||
if (VerifyImport(trackedDownload, importResults))
|
if (VerifyImport(trackedDownload, importResults))
|
||||||
|
Loading…
Reference in New Issue
Block a user