diff --git a/resources/lib/UserClient.py b/resources/lib/UserClient.py index 8cc363ab..0f97d516 100644 --- a/resources/lib/UserClient.py +++ b/resources/lib/UserClient.py @@ -96,6 +96,10 @@ class UserClient(threading.Thread): HTTPS = addon.getSetting('https') host = addon.getSetting('ipaddress') port = addon.getSetting('port') + # Alternate host + if addon.getSetting('altip') == "true": + host = addon.getSetting('secondipaddress') + server = host + ":" + port if host == "": diff --git a/resources/settings.xml b/resources/settings.xml index fd9facd4..32a2d37f 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -2,7 +2,9 @@ - + + +