mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-17 15:59:36 +02:00
parent
c81d2c97f5
commit
3a7b27fb45
@ -300,6 +300,7 @@ public void should_parse_language_hungarian(string postTitle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
[TestCase("Movie.Title.1994.Hebrew.1080p.XviD-LOL")]
|
[TestCase("Movie.Title.1994.Hebrew.1080p.XviD-LOL")]
|
||||||
|
[TestCase("Movie.Title.1994.1080p.BluRay.HebDubbed.Also.English.x264-P2P")]
|
||||||
public void should_parse_language_hebrew(string postTitle)
|
public void should_parse_language_hebrew(string postTitle)
|
||||||
{
|
{
|
||||||
var result = Parser.Parser.ParseMovieTitle(postTitle, true);
|
var result = Parser.Parser.ParseMovieTitle(postTitle, true);
|
||||||
|
@ -25,7 +25,7 @@ public static class LanguageParser
|
|||||||
(?<russian>\brus\b)|
|
(?<russian>\brus\b)|
|
||||||
(?<english>\beng\b)|
|
(?<english>\beng\b)|
|
||||||
(?<hungarian>\b(?:HUNDUB|HUN)\b)|
|
(?<hungarian>\b(?:HUNDUB|HUN)\b)|
|
||||||
(?<hebrew>\bHebDub\b)|
|
(?<hebrew>\b(?:HebDub|HebDubbed)\b)|
|
||||||
(?<polish>\b(?:PL\W?DUB|DUB\W?PL|LEK\W?PL|PL\W?LEK)\b)|
|
(?<polish>\b(?:PL\W?DUB|DUB\W?PL|LEK\W?PL|PL\W?LEK)\b)|
|
||||||
(?<chinese>\[(?:CH[ST]|BIG5|GB)\]|简|繁|字幕)|
|
(?<chinese>\[(?:CH[ST]|BIG5|GB)\]|简|繁|字幕)|
|
||||||
(?<ukrainian>(?:(?:\dx)?UKR))|
|
(?<ukrainian>(?:(?:\dx)?UKR))|
|
||||||
|
Loading…
Reference in New Issue
Block a user