Added another nzbgeek hashed pattern.

pull/3113/head
Taloth Saldono 9 years ago
parent 61c263856b
commit 6e5e781245

@ -73,6 +73,13 @@ namespace NzbDrone.Core.Test.ParserTests
"grimm",
Quality.WEBDL720p,
"ECI"
},
new object[]
{
@"C:\Test\The.Good.Wife.S02E23.720p.HDTV.x264-NZBgeek/cgajsofuejsa501.mkv".AsOsAgnostic(),
"thegoodwife",
Quality.HDTV720p,
"NZBgeek"
}
};

@ -141,7 +141,9 @@ namespace NzbDrone.Core.Parser
new Regex(@"^[a-z0-9]{24}$", RegexOptions.Compiled),
// Format seen on some NZBGeek releases
// Be very strict with these coz they are very close to the valid 101 ep numbering.
new Regex(@"^[A-Z]{11}\d{3}$", RegexOptions.Compiled),
new Regex(@"^[a-z]{12}\d{3}$", RegexOptions.Compiled),
//Backup filename (Unknown origins)
new Regex(@"^Backup_\d{5,}S\d{2}-\d{2}$", RegexOptions.Compiled),

Loading…
Cancel
Save