From fb4f48c92e4878b7a9cbe2e8d036d683d1f440fc Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Tue, 27 Feb 2024 15:55:30 -0600 Subject: [PATCH] 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 --- .../CustomFormats/CustomFormatCalculationService.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs index c07db977e..914a1404c 100644 --- a/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs +++ b/src/NzbDrone.Core/CustomFormats/CustomFormatCalculationService.cs @@ -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);