adjust capability delay to 5s

This commit is contained in:
Shane McMaster 2024-02-06 10:44:49 +13:00
parent fbaef1b48e
commit 3d24ca8af9
No known key found for this signature in database

View file

@ -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",