Use Locale.US as default locale for TheMovieDB requests (because US is likely cached due to language preferences, while ENGLISH may not be)
This commit is contained in:
parent
49d744319e
commit
7fcbc4d614
|
@ -269,7 +269,7 @@ public abstract class ScriptShellBaseClass extends Script {
|
||||||
|
|
||||||
// 3. run full-fledged movie detection
|
// 3. run full-fledged movie detection
|
||||||
try {
|
try {
|
||||||
List<Movie> options = MediaDetection.detectMovie(file, WebServices.TheMovieDB, Locale.ENGLISH, strict);
|
List<Movie> options = MediaDetection.detectMovie(file, WebServices.TheMovieDB, Locale.US, strict);
|
||||||
if (options.size() > 0) {
|
if (options.size() > 0) {
|
||||||
return options.get(0);
|
return options.get(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue