1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 02:22:31 +01:00

Fixed: Unknown Movie Releases stuck in ImportPending

This commit is contained in:
Qstick 2020-06-04 20:03:28 -04:00 committed by GitHub
parent b00326424f
commit 913037c45e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ public void Import(TrackedDownload trackedDownload)
if (importResults.Any(c => c.Result != ImportResultType.Imported))
{
var statusMessages = importResults
.Where(v => v.Result != ImportResultType.Imported)
.Where(v => v.Result != ImportResultType.Imported && v.ImportDecision.LocalMovie != null)
.Select(v => new TrackedDownloadStatusMessage(Path.GetFileName(v.ImportDecision.LocalMovie.Path), v.Errors))
.ToArray();