* restrict imdb language prefs to "international" titles (basically only english)

This commit is contained in:
Reinhard Pointner 2012-07-29 11:41:49 +00:00
parent 397cec83d5
commit 100d5c5a4f
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class IMDbClient implements MovieIdentificationService {
String akaTitle = getTextContent(columns.get(0));
String languageDesc = getTextContent(columns.get(1)).toLowerCase();
if (language.length() > 0 && languageDesc.contains(language) && frequency(asList(languageDesc.split("\\W")), "title") == 1) {
if (language.length() > 0 && languageDesc.contains(language) && languageDesc.contains("international")) {
name = akaTitle;
break;
}