mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 00:08:51 -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:
parent
14dd2c3a22
commit
b48cbfa3cb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user