Added the option to manually input user info
If user opts out of the auto detect, present the add-on configs instead of nothing. Step to eliminate the need to restart Kodi after setting the sources, etc.
This commit is contained in:
parent
287677f683
commit
f306ceb67e
1 changed files with 4 additions and 0 deletions
|
@ -106,6 +106,10 @@ class ConnectionManager():
|
||||||
self.addonSettings.setSetting("ipaddress", server_address)
|
self.addonSettings.setSetting("ipaddress", server_address)
|
||||||
self.addonSettings.setSetting("username", selected_user)
|
self.addonSettings.setSetting("username", selected_user)
|
||||||
downloadUtils.authenticate()
|
downloadUtils.authenticate()
|
||||||
|
else:
|
||||||
|
xbmc.log("No user selected.")
|
||||||
|
xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)')
|
||||||
|
return
|
||||||
|
|
||||||
def getServerDetails(self):
|
def getServerDetails(self):
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue