From f306ceb67e0c4b55a6a6a055c5b809af63a34df4 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 27 Mar 2015 04:58:05 -0500 Subject: [PATCH] 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. --- resources/lib/ConnectionManager.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/lib/ConnectionManager.py b/resources/lib/ConnectionManager.py index 433a2093..6de607ea 100644 --- a/resources/lib/ConnectionManager.py +++ b/resources/lib/ConnectionManager.py @@ -106,6 +106,10 @@ class ConnectionManager(): self.addonSettings.setSetting("ipaddress", server_address) self.addonSettings.setSetting("username", selected_user) downloadUtils.authenticate() + else: + xbmc.log("No user selected.") + xbmc.executebuiltin('Addon.OpenSettings(plugin.video.emby)') + return def getServerDetails(self):