Skip to content

Commit

Permalink
Merge pull request #393 from mcarlton00/server-process-delay
Browse files Browse the repository at this point in the history
Add processing delay during startup
  • Loading branch information
iwalton3 committed May 27, 2024
2 parents 9a6c1a8 + 44dd6d3 commit 9671442
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 9671442

Please sign in to comment.