Fixed: Handle more obfuscated names

Closes #4198
phantom-rtorrent-seedcache
bakerboy448 4 years ago committed by Mark McDowall
parent 474f4bcc6d
commit 7a3f4e8033

@ -136,6 +136,13 @@ namespace NzbDrone.Core.Test.ParserTests
"Series Title", "Series Title",
Quality.WEBDL1080p, Quality.WEBDL1080p,
"NTb" "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"
} }
}; };

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

Loading…
Cancel
Save