mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-05 07:46:12 +00:00
Reworked the userclient with possibilities
Revoked token was actually broken, handle access schedule better, restart/start properly. This is to stabilize things.
This commit is contained in:
parent
696586e952
commit
11e4a70e25
4 changed files with 51 additions and 21 deletions
|
@ -143,7 +143,6 @@ class Service():
|
|||
if self.KodiMonitor.waitForAbort(1):
|
||||
# Abort was requested while waiting. We should exit
|
||||
break
|
||||
#WebSocketThread().processPendingActions()
|
||||
else:
|
||||
|
||||
if self.warn_auth:
|
||||
|
@ -155,6 +154,10 @@ class Service():
|
|||
WINDOW.setProperty("Emby_Service_Timestamp", str(int(time.time())))
|
||||
user.hasAccess()
|
||||
|
||||
if WINDOW.getProperty('Server_online') != "true":
|
||||
# Server went offline
|
||||
break
|
||||
|
||||
if self.KodiMonitor.waitForAbort(5):
|
||||
# Abort was requested while waiting. We should exit
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue