1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00: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())