Skip to content

Commit

Permalink
Add processing delay during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarlton00 committed May 27, 2024
1 parent f298797 commit 44dd6d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jellyfin_mpv_shim/clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def event(event_name, data):
client.start(websocket=True)

client.jellyfin.post_capabilities(CAPABILITIES)
# Small delay so the server has time to process request
time.sleep(3)
return self.validate_client(client)

def remove_client(self, uuid: str):
Expand Down

0 comments on commit 44dd6d3

Please sign in to comment.