Fixed: Handle more obfuscated names

Closes #4198
This commit is contained in:
bakerboy448 2021-01-30 16:20:06 -06:00 committed by Mark McDowall
parent 474f4bcc6d
commit 7a3f4e8033
2 changed files with 10 additions and 0 deletions

View File

@ -136,6 +136,13 @@ namespace NzbDrone.Core.Test.ParserTests
"Series Title",
Quality.WEBDL1080p,
"NTb"
},
new object[]
{
@"C:\Test\tv\Series.Title.2019.S02E02.The.Episode.of.Names.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb/46XuzmawYQeUBwNdH2Hw2996.mkv".AsOsAgnostic(),
"Series Title 2019",
Quality.WEBDL1080p,
"NTb"
}
};

View File

@ -355,6 +355,9 @@ namespace NzbDrone.Core.Parser
// additional Generic match for mixed-case hashes. - Started appearing Jan 2021
new Regex(@"^[0-9a-zA-Z]{39}", RegexOptions.Compiled),
// additional Generic match for mixed-case hashes. - Started appearing Jan 2021
new Regex(@"^[0-9a-zA-Z]{24}", RegexOptions.Compiled),
};
private static readonly Regex[] SeasonFolderRegexes = new Regex[]