Allow configuration of omdb url (#3353)

OMDB recently added a private.omdbapi.com domain for supporters and this option allows the user to customize it while also allowing that url to change more rapidly in the future
This commit is contained in:
Jay Otterbein
2018-07-09 05:37:24 -05:00
committed by flightlevel
parent 2fac90df9f
commit 0026a4f26e
7 changed files with 22 additions and 4 deletions

View File

@@ -30,6 +30,8 @@ namespace Jackett.Common.Models.DTO
[DataMember]
public string omdbkey { get; set; }
[DataMember]
public string omdburl { get; set; }
[DataMember]
public string app_version { get; set; }
[DataMember]
@@ -61,6 +63,7 @@ namespace Jackett.Common.Models.DTO
logging = config.RuntimeSettings.TracingEnabled;
basepathoverride = config.BasePathOverride;
omdbkey = config.OmdbApiKey;
omdburl = config.OmdbApiUrl;
app_version = version;
proxy_type = config.ProxyType;