From 7f109d4d716c218456a249473ff6db873ffc7815 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 19 Jul 2022 18:51:30 -0400 Subject: [PATCH] Include a payload when disallowing remote control --- jellyfin_kodi/jellyfin/ws_client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jellyfin_kodi/jellyfin/ws_client.py b/jellyfin_kodi/jellyfin/ws_client.py index f99b24dd..3a9ce122 100644 --- a/jellyfin_kodi/jellyfin/ws_client.py +++ b/jellyfin_kodi/jellyfin/ws_client.py @@ -95,7 +95,10 @@ class WSClient(threading.Thread): ), }) else: - self.client.jellyfin.post_capabilities({}) + self.client.jellyfin.post_capabilities({ + "PlayableMediaTypes": "Audio, Video", + "SupportsMediaControl": False + }) # Reinitialize the retry counter after successful connection self.retry_count = 0