Fixed: Ignore SceneTitle for Custom Format Title Parsing

Use file name not scenetitle dude to numerous issues with parsing and download loops. I.e. SceneTitle reports the wrong hdr type or audio type and
This commit is contained in:
bakerboy448 2024-02-27 15:55:30 -06:00 committed by GitHub
parent b34e0f8259
commit fb4f48c92e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 6 deletions

View File

@ -166,12 +166,7 @@ namespace NzbDrone.Core.CustomFormats
{
var releaseTitle = string.Empty;
if (episodeFile.SceneName.IsNotNullOrWhiteSpace())
{
_logger.Trace("Using scene name for release title: {0}", episodeFile.SceneName);
releaseTitle = episodeFile.SceneName;
}
else if (episodeFile.OriginalFilePath.IsNotNullOrWhiteSpace())
if (episodeFile.OriginalFilePath.IsNotNullOrWhiteSpace())
{
_logger.Trace("Using original file path for release title: {0}", Path.GetFileName(episodeFile.OriginalFilePath));
releaseTitle = Path.GetFileName(episodeFile.OriginalFilePath);