Use secure_base_url configuration parameter
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=5479
This commit is contained in:
parent
88ed6513c2
commit
3ac05fb006
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue