Fixed: Handle abc.mkv hashed filename

pull/3113/head
Mark McDowall 10 years ago
parent 53b22035be
commit 4fda97257b

@ -59,6 +59,13 @@ namespace NzbDrone.Core.Test.ParserTests
"grimm",
Quality.WEBDL720p,
"ECI"
},
new object[]
{
@"C:\Test\Grimm S04E08 Chupacabra 720p WEB-DL DD5 1 H 264-ECI\abc.mkv".AsOsAgnostic(),
"grimm",
Quality.WEBDL720p,
"ECI"
}
};

@ -135,7 +135,10 @@ namespace NzbDrone.Core.Parser
new Regex(@"^Backup_\d{5,}S\d{2}-\d{2}$", RegexOptions.Compiled),
//123 - Started appearing December 2014
new Regex(@"^123$", RegexOptions.Compiled)
new Regex(@"^123$", RegexOptions.Compiled),
//abc - Started appearing January 2015
new Regex(@"^abc$", RegexOptions.Compiled | RegexOptions.IgnoreCase)
};
//Regex to detect whether the title was reversed.

Loading…
Cancel
Save