mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
* allow users to set OpenSubtitles XML-RPC endpoint via Java system property: "-Dnet.filebot.OpenSubtitlesXmlRpc.url=http://api.opensubtitles.org/xml-rpc"
This commit is contained in:
parent
6c9ea69487
commit
6484e4b3f7
@ -363,7 +363,7 @@ public class OpenSubtitlesXmlRpc {
|
||||
|
||||
protected URL getXmlRpcUrl() {
|
||||
try {
|
||||
return new URL("https://api.opensubtitles.org/xml-rpc");
|
||||
return new URL(System.getProperty("net.filebot.OpenSubtitlesXmlRpc.url", "https://api.opensubtitles.org/xml-rpc"));
|
||||
} catch (MalformedURLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user