mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Update state
When manually connect to server, update saved state
This commit is contained in:
parent
663567c51f
commit
27b9e1c447
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ class ConnectManager(object):
|
||||||
return self.state
|
return self.state
|
||||||
|
|
||||||
def get_server(self, server):
|
def get_server(self, server):
|
||||||
return self._connect.connectToAddress(server)
|
self.state = self._connect.connectToAddress(server)
|
||||||
|
return self.state
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_address(cls, server):
|
def get_address(cls, server):
|
||||||
|
|
Loading…
Reference in a new issue