mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-17 21:26:13 -04:00
Fixed unit tests
This commit is contained in:
@@ -218,9 +218,11 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||
return fileName;
|
||||
}
|
||||
|
||||
if (SceneChecker.IsSceneTitle(localEpisode.FolderEpisodeInfo.ReleaseTitle))
|
||||
var folderTitle = localEpisode.FolderEpisodeInfo?.ReleaseTitle;
|
||||
|
||||
if (folderTitle.IsNotNullOrWhiteSpace() && SceneChecker.IsSceneTitle(folderTitle))
|
||||
{
|
||||
return localEpisode.FolderEpisodeInfo.ReleaseTitle;
|
||||
return folderTitle;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user