Reject non-english releases

NzbDrone, now with more rejection built in
This commit is contained in:
Mark McDowall 2013-01-15 17:36:02 -08:00
commit f556f2aaf2
6 changed files with 119 additions and 2 deletions

View file

@ -322,6 +322,7 @@ namespace NzbDrone.Core.Test.ParserTests
[TestCase("person.of.interest.1x19.ita.720p.bdmux.x264-novarip", LanguageType.Italian)]
[TestCase("Salamander.S01E01.FLEMISH.HDTV.x264-BRiGAND", LanguageType.Flemish)]
[TestCase("H.Polukatoikia.S03E13.Greek.PDTV.XviD-Ouzo", LanguageType.Greek)]
[TestCase("Burn.Notice.S04E15.Brotherly.Love.GERMAN.DUBBED.WS.WEBRiP.XviD.REPACK-TVP", LanguageType.German)]
public void parse_language(string postTitle, LanguageType language)
{
var result = Parser.ParseLanguage(postTitle);