From 079a0b56c3e124616fef6e2f81c19f67c13acb96 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 30 Jul 2019 08:44:55 -0700 Subject: [PATCH] Fixed: Manual import from queue showing error when download name failed to parse --- .../MediaFiles/EpisodeImport/Manual/ManualImportService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Manual/ManualImportService.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Manual/ManualImportService.cs index 51d5fa609..c39495974 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/Manual/ManualImportService.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/Manual/ManualImportService.cs @@ -162,11 +162,11 @@ private ManualImportItem ProcessFile(string rootFolder, string baseFolder, strin if (downloadId.IsNotNullOrWhiteSpace()) { var trackedDownload = _trackedDownloadService.Find(downloadId); - downloadClientItem = trackedDownload.DownloadItem; + downloadClientItem = trackedDownload?.DownloadItem; if (series == null) { - series = trackedDownload.RemoteEpisode.Series; + series = trackedDownload?.RemoteEpisode?.Series; } }