mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Added-Fix HTTP Playback
Added an extra prompt for auto detection.
This commit is contained in:
parent
48ce741f6a
commit
f084608e84
2 changed files with 13 additions and 4 deletions
|
@ -122,14 +122,23 @@ class ConnectionManager():
|
||||||
|
|
||||||
if(return_value > -1):
|
if(return_value > -1):
|
||||||
selected_user = userList[return_value]
|
selected_user = userList[return_value]
|
||||||
self.logMsg("Setting Selected User: %s" % selected_user)
|
self.logMsg("elected 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.", 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")
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
<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="port" type="text" label="30030" default="8096" visible="true" enable="true" />
|
<setting id="port" type="text" label="30030" default="8096" visible="true" enable="true" />
|
||||||
|
<setting id="username" type="text" label="30024" />
|
||||||
<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" />
|
||||||
<setting type="sep" />
|
<setting type="sep" />
|
||||||
<setting id="username" type="text" label="30024" />
|
|
||||||
<setting type="sep" />
|
|
||||||
<setting id="deviceName" type="text" label="30016" default="Kodi" />
|
<setting id="deviceName" type="text" label="30016" default="Kodi" />
|
||||||
|
<setting id="playFromStream" type="bool" label="30002" visible="true" enable="true" default="false" />
|
||||||
</category>
|
</category>
|
||||||
<!-- <category label="Manual sync"> <setting label="Run manual full sync now" type="action" action="RunScript(plugin.video.mbsync, fullsync)" /> <setting label="Run manual incremental sync now" type="action" action="RunScript(plugin.video.mbsync, incrementalsync)" /> <setting label="Reset entire local library" type="action" action="RunScript(plugin.video.mbsync, reset)" /> </category> -->
|
<!-- <category label="Manual sync"> <setting label="Run manual full sync now" type="action" action="RunScript(plugin.video.mbsync, fullsync)" /> <setting label="Run manual incremental sync now" type="action" action="RunScript(plugin.video.mbsync, incrementalsync)" /> <setting label="Reset entire local library" type="action" action="RunScript(plugin.video.mbsync, reset)" /> </category> -->
|
||||||
<category label="Sync Options">
|
<category label="Sync Options">
|
||||||
|
|
Loading…
Reference in a new issue