nlsub is treated as dutch
This commit is contained in:
parent
96a4cd33cb
commit
36e7dc75e5
|
@ -426,6 +426,9 @@ namespace NzbDrone.Core.Parser
|
||||||
if (lowerTitle.Contains("dutch"))
|
if (lowerTitle.Contains("dutch"))
|
||||||
return Language.Dutch;
|
return Language.Dutch;
|
||||||
|
|
||||||
|
if (lowerTitle.Contains("nlsub"))
|
||||||
|
return Language.Dutch;
|
||||||
|
|
||||||
if (lowerTitle.Contains("japanese"))
|
if (lowerTitle.Contains("japanese"))
|
||||||
return Language.Japanese;
|
return Language.Japanese;
|
||||||
|
|
||||||
|
@ -462,9 +465,6 @@ namespace NzbDrone.Core.Parser
|
||||||
if (lowerTitle.Contains("portuguese"))
|
if (lowerTitle.Contains("portuguese"))
|
||||||
return Language.Portuguese;
|
return Language.Portuguese;
|
||||||
|
|
||||||
if (lowerTitle.Contains("nlsub"))
|
|
||||||
return Language.Norwegian;
|
|
||||||
|
|
||||||
var match = LanguageRegex.Match(title);
|
var match = LanguageRegex.Match(title);
|
||||||
|
|
||||||
if (match.Groups["italian"].Captures.Cast<Capture>().Any())
|
if (match.Groups["italian"].Captures.Cast<Capture>().Any())
|
||||||
|
|
Loading…
Reference in New Issue