mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 10:17:47 +00:00
Fixed: Handle abc.mkv hashed filename
This commit is contained in:
parent
53b22035be
commit
4fda97257b
2 changed files with 11 additions and 1 deletions
|
@ -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…
Reference in a new issue