Skip to content

Commit

Permalink
adjust capability delay to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
smcmnz committed Feb 5, 2024
1 parent 600627c commit 35f7db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jellyfin_kodi/jellyfin/ws_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def on_error(self, ws, error):
def on_open(self, ws):
LOG.info("--->[ websocket opened ]")
# Avoid a timing issue where the capabilities are not correctly registered
time.sleep(1)
time.sleep(5)
if settings('remoteControl.bool'):
self.client.jellyfin.post_capabilities({
'PlayableMediaTypes': "Audio,Video",
Expand Down

0 comments on commit 35f7db0

Please sign in to comment.