mirror of https://github.com/Sonarr/Sonarr
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:
parent
b34e0f8259
commit
fb4f48c92e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue