1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 17:57:43 +00:00

Fixed: Handle abc.mkv hashed filename

This commit is contained in:
Mark McDowall 2015-01-08 22:45:29 -08:00
parent 53b22035be
commit 4fda97257b
2 changed files with 11 additions and 1 deletions

View file

@ -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"
}
};

View file

@ -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.