mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
adjust capability delay to 5s
This commit is contained in:
parent
fbaef1b48e
commit
3d24ca8af9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class WSClient(threading.Thread):
|
||||||
def on_open(self, ws):
|
def on_open(self, ws):
|
||||||
LOG.info("--->[ websocket opened ]")
|
LOG.info("--->[ websocket opened ]")
|
||||||
# Avoid a timing issue where the capabilities are not correctly registered
|
# Avoid a timing issue where the capabilities are not correctly registered
|
||||||
time.sleep(1)
|
time.sleep(5)
|
||||||
if settings('remoteControl.bool'):
|
if settings('remoteControl.bool'):
|
||||||
self.client.jellyfin.post_capabilities({
|
self.client.jellyfin.post_capabilities({
|
||||||
'PlayableMediaTypes': "Audio,Video",
|
'PlayableMediaTypes': "Audio,Video",
|
||||||
|
|
Loading…
Reference in a new issue