mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Stop overwriting manual input for reals this time
This commit is contained in:
parent
07313a38b8
commit
ec59fb8cbe
1 changed files with 3 additions and 5 deletions
|
@ -112,8 +112,7 @@ class Connect(object):
|
|||
return state['Credentials']
|
||||
|
||||
elif (server_selection or state['State'] == CONNECTION_STATE['ServerSelection'] or state['State'] == CONNECTION_STATE['Unavailable'] and not settings('SyncInstallRunDone.bool')):
|
||||
|
||||
self.select_servers(state)
|
||||
state['Credentials']['Servers'] = [self.select_servers(state)]
|
||||
|
||||
elif state['State'] == CONNECTION_STATE['ServerSignIn']:
|
||||
if 'ExchangeToken' not in state['Servers'][0]:
|
||||
|
@ -170,13 +169,12 @@ class Connect(object):
|
|||
|
||||
if dialog.is_server_selected():
|
||||
LOG.debug("Server selected: %s", dialog.get_server())
|
||||
return
|
||||
return dialog.get_server()
|
||||
|
||||
elif dialog.is_manual_server():
|
||||
LOG.debug("Adding manual server")
|
||||
try:
|
||||
self.manual_server()
|
||||
return
|
||||
return self.manual_server()
|
||||
except RuntimeError:
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue