From 100d5c5a4f0d3f74b85575b4121937e686e65637 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 29 Jul 2012 11:41:49 +0000 Subject: [PATCH] * restrict imdb language prefs to "international" titles (basically only english) --- source/net/sourceforge/filebot/web/IMDbClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/sourceforge/filebot/web/IMDbClient.java b/source/net/sourceforge/filebot/web/IMDbClient.java index 83f11c48..3ff2380e 100644 --- a/source/net/sourceforge/filebot/web/IMDbClient.java +++ b/source/net/sourceforge/filebot/web/IMDbClient.java @@ -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; }