mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
parent
90204fcd05
commit
48ce741f6a
2 changed files with 2 additions and 12 deletions
|
@ -122,23 +122,14 @@ class ConnectionManager():
|
||||||
|
|
||||||
if(return_value > -1):
|
if(return_value > -1):
|
||||||
selected_user = userList[return_value]
|
selected_user = userList[return_value]
|
||||||
self.logMsg("Selected User: %s" % selected_user)
|
self.logMsg("Setting Selected User: %s" % selected_user)
|
||||||
self.addon.setSetting("username", selected_user)
|
self.addon.setSetting("username", selected_user)
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
xbmc.log("No user selected.")
|
xbmc.log("No user selected.")
|
||||||
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
|
xbmc.executebuiltin('Addon.OpenSettings(%s)' % self.addonId)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Option to play from http
|
|
||||||
setPlayback = xbmcgui.Dialog().yesno("Playback option", "Play your files using HTTP?")
|
|
||||||
if setPlayback == 1:
|
|
||||||
self.logMsg("Playback will be set using HTTP/S.", 1)
|
|
||||||
addon.setSetting("playFromStream", "true")
|
|
||||||
return
|
|
||||||
else:
|
|
||||||
self.logMsg("Playback will be set using SMB.", 1)
|
|
||||||
return
|
|
||||||
|
|
||||||
def getServerDetails(self):
|
def getServerDetails(self):
|
||||||
|
|
||||||
self.logMsg("Getting Server Details from Network")
|
self.logMsg("Getting Server Details from Network")
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
<category label="Playback"> <!-- Extra Sync options -->
|
<category label="Playback"> <!-- Extra Sync options -->
|
||||||
<setting id="smbusername" type="text" label="30007" default="" visible="true" enable="true" />
|
<setting id="smbusername" type="text" label="30007" default="" visible="true" enable="true" />
|
||||||
<setting id="smbpassword" type="text" label="30008" default="" option="hidden" visible="true" enable="true" />
|
<setting id="smbpassword" type="text" label="30008" default="" option="hidden" visible="true" enable="true" />
|
||||||
<setting id="playFromStream" type="bool" label="30002" visible="true" enable="true" value="false" />
|
|
||||||
<setting id="autoPlaySeason" type="bool" label="30216" default="false" visible="true" enable="true" />
|
<setting id="autoPlaySeason" type="bool" label="30216" default="false" visible="true" enable="true" />
|
||||||
</category>
|
</category>
|
||||||
<category label="30022">
|
<category label="30022">
|
||||||
|
|
Loading…
Reference in a new issue