1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

* 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

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;
}