From 35f7db0db503f7b32597c7fdf7f29af3cae88f96 Mon Sep 17 00:00:00 2001 From: Shane McMaster Date: Tue, 6 Feb 2024 10:44:49 +1300 Subject: [PATCH] adjust capability delay to 5s --- jellyfin_kodi/jellyfin/ws_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/jellyfin/ws_client.py b/jellyfin_kodi/jellyfin/ws_client.py index 744abbed5..65da191e0 100644 --- a/jellyfin_kodi/jellyfin/ws_client.py +++ b/jellyfin_kodi/jellyfin/ws_client.py @@ -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",