mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-17 13:46:14 +00:00
Revert "Revert "Support alternate address""
This reverts commit ef926f94e2
.
This commit is contained in:
parent
7562d605e8
commit
385c3cae7e
2 changed files with 7 additions and 1 deletions
|
@ -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 == "":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue