mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-09-02 12:51:35 +00:00
Fix profile auth
One device id per user.
This commit is contained in:
parent
2deb31b294
commit
60db191efa
5 changed files with 15 additions and 5 deletions
|
@ -61,13 +61,16 @@ class EmbyClient(object):
|
|||
|
||||
return state
|
||||
|
||||
def start(self, websocket=False):
|
||||
def start(self, websocket=False, keep_alive=True):
|
||||
|
||||
if not self.logged_in:
|
||||
raise ValueError("User is not authenticated.")
|
||||
|
||||
self.http.start_session()
|
||||
|
||||
if keep_alive:
|
||||
self.http.keep_alive = True
|
||||
|
||||
if websocket:
|
||||
self.start_wsc()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue