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 ca9ca221..6eaca198 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -2,7 +2,9 @@ - + + +