mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Include a payload when disallowing remote control
This commit is contained in:
parent
12c6bc82a1
commit
7f109d4d71
1 changed files with 4 additions and 1 deletions
|
@ -95,7 +95,10 @@ class WSClient(threading.Thread):
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
self.client.jellyfin.post_capabilities({})
|
self.client.jellyfin.post_capabilities({
|
||||||
|
"PlayableMediaTypes": "Audio, Video",
|
||||||
|
"SupportsMediaControl": False
|
||||||
|
})
|
||||||
# Reinitialize the retry counter after successful connection
|
# Reinitialize the retry counter after successful connection
|
||||||
self.retry_count = 0
|
self.retry_count = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue