mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-04 05:55:09 +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 @@ public class HashedReleaseFixture : CoreTest
|
||||||
"grimm",
|
"grimm",
|
||||||
Quality.WEBDL720p,
|
Quality.WEBDL720p,
|
||||||
"ECI"
|
"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 @@ public static class Parser
|
||||||
new Regex(@"^Backup_\d{5,}S\d{2}-\d{2}$", RegexOptions.Compiled),
|
new Regex(@"^Backup_\d{5,}S\d{2}-\d{2}$", RegexOptions.Compiled),
|
||||||
|
|
||||||
//123 - Started appearing December 2014
|
//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.
|
//Regex to detect whether the title was reversed.
|
||||||
|
|
Loading…
Reference in a new issue