1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 08:18:52 -05:00

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:
Reinhard Pointner 2017-11-21 21:13:47 +01:00
parent 14dd2c3a22
commit b48cbfa3cb

View File

@ -123,7 +123,7 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
if (extendedInfo) {
try {
Object response = request(path + "/alternative_titles", emptyMap(), Locale.ENGLISH);
Object response = request(path + "/alternative_titles", emptyMap(), Locale.US);
streamJsonObjects(response, key).map(n -> {
return getString(n, "title");
}).filter(Objects::nonNull).filter(n -> n.length() >= 2).forEach(alternativeTitles::add);