mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Fix if server is selected but unavailable
This commit is contained in:
parent
3007e1d7cd
commit
40fa688526
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ class ConnectionManager(object):
|
|||
if first_server is not None and first_server['DateLastAccessed'] != "2001-01-01T00:00:00Z":
|
||||
result = self.connect_to_server(first_server, options)
|
||||
|
||||
if result['State'] == CONNECTION_STATE['SignedIn']:
|
||||
if result['State'] in (CONNECTION_STATE['SignedIn'], CONNECTION_STATE['Unavailable']):
|
||||
return result
|
||||
|
||||
# Return loaded credentials if exists
|
||||
|
|
Loading…
Reference in a new issue