mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
parent
9635d2f0d3
commit
ef926f94e2
2 changed files with 1 additions and 7 deletions
|
@ -96,10 +96,6 @@ class UserClient(threading.Thread):
|
||||||
HTTPS = addon.getSetting('https')
|
HTTPS = addon.getSetting('https')
|
||||||
host = addon.getSetting('ipaddress')
|
host = addon.getSetting('ipaddress')
|
||||||
port = addon.getSetting('port')
|
port = addon.getSetting('port')
|
||||||
# Alternate host
|
|
||||||
if addon.getSetting('altip') == "true":
|
|
||||||
host = addon.getSetting('secondipaddress')
|
|
||||||
|
|
||||||
server = host + ":" + port
|
server = host + ":" + port
|
||||||
|
|
||||||
if host == "":
|
if host == "":
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
<settings>
|
<settings>
|
||||||
<category label="30014"> <!-- Emby -->
|
<category label="30014"> <!-- Emby -->
|
||||||
<setting id="ipaddress" type="text" label="30000" default="" visible="true" enable="true" />
|
<setting id="ipaddress" type="text" label="30000" default="" visible="true" enable="true" />
|
||||||
<setting id="altip" type="bool" label="Use alternate address" default="false" visible="true" enable="true" />
|
<setting id="port" type="text" label="30030" default="8096" visible="true" enable="true" />
|
||||||
<setting id="secondipaddress" type="text" label="Secondary Server Address" default="" visible="eq(-1,true)" enable="true" />
|
|
||||||
<setting id="port" type="number" label="30030" default="8096" visible="true" enable="true" />
|
|
||||||
<setting id="username" type="text" label="30024" default="" />
|
<setting id="username" type="text" label="30024" default="" />
|
||||||
<setting type="sep" />
|
<setting type="sep" />
|
||||||
<setting id="https" type="bool" label="30243" visible="true" enable="true" default="false" />
|
<setting id="https" type="bool" label="30243" visible="true" enable="true" default="false" />
|
||||||
|
|
Loading…
Reference in a new issue