1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-03-03 15:12:13 +02:00

Fixed: Possible issue with manual import of an unknown release

This commit is contained in:
Mark McDowall 2019-05-04 08:57:59 -07:00
parent 7321075631
commit 940cba5f90

View File

@ -288,10 +288,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
if (file.DownloadId.IsNotNullOrWhiteSpace())
{
trackedDownload = _trackedDownloadService.Find(file.DownloadId);
if (trackedDownload != null)
{
localEpisode.DownloadClientEpisodeInfo = trackedDownload.RemoteEpisode.ParsedEpisodeInfo;
}
localEpisode.DownloadClientEpisodeInfo = trackedDownload?.RemoteEpisode?.ParsedEpisodeInfo;
}
if (file.FolderName.IsNotNullOrWhiteSpace())