Fixed: Scene Name not being stored properly during import if not linked to a download client item and filename is obfuscated
This commit is contained in:
parent
fed2a429c7
commit
487c664e43
|
@ -218,6 +218,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
|||
return fileName;
|
||||
}
|
||||
|
||||
if (SceneChecker.IsSceneTitle(localEpisode.FolderEpisodeInfo.ReleaseTitle))
|
||||
{
|
||||
return localEpisode.FolderEpisodeInfo.ReleaseTitle;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -397,6 +397,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport.Manual
|
|||
if (file.FolderName.IsNotNullOrWhiteSpace())
|
||||
{
|
||||
localEpisode.FolderEpisodeInfo = Parser.Parser.ParseTitle(file.FolderName);
|
||||
localEpisode.SceneSource = !existingFile;
|
||||
}
|
||||
|
||||
localEpisode = _aggregationService.Augment(localEpisode, trackedDownload?.DownloadItem, false);
|
||||
|
|
Loading…
Reference in New Issue