Use secure_base_url configuration parameter

@see https://www.filebot.net/forums/viewtopic.php?f=6&t=5479
This commit is contained in:
Reinhard Pointner 2017-11-13 23:04:45 +01:00
parent 88ed6513c2
commit 3ac05fb006
1 changed files with 2 additions and 2 deletions

View File

@ -308,8 +308,8 @@ public class TMDbClient implements MovieIdentificationService, ArtworkProvider {
} }
try { try {
String mirror = (String) Cache.getCache(getName(), CacheType.Monthly).computeIfAbsent("configuration.base_url", it -> { String mirror = (String) Cache.getCache(getName(), CacheType.Monthly).computeIfAbsent("configuration.secure_base_url", it -> {
return getString(getMap(getConfiguration(), "images"), "base_url"); return getString(getMap(getConfiguration(), "images"), "secure_base_url");
}); });
return new URL(mirror + "original" + path); return new URL(mirror + "original" + path);
} catch (Exception e) { } catch (Exception e) {