From 3d24ca8af967101baccdaea55ed86fd0b72f4829 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 744abbed..65da191e 100644 --- a/jellyfin_kodi/jellyfin/ws_client.py +++ b/jellyfin_kodi/jellyfin/ws_client.py @@ -72,7 +72,7 @@ class WSClient(threading.Thread): 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",