mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-04-23 13:57:06 -04:00
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
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue