Skip to content

Commit

Permalink
Bind to websocket events.
Browse files Browse the repository at this point in the history
  • Loading branch information
iwalton3 committed Mar 24, 2021
1 parent 5016d0b commit 2613f91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jellyfin_mpv_shim/webclient_view/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def it_on_event(name, event):
})

playerManager.on_playstate = on_playstate
self.it_on_event = it_on_event
self.it_event_set = {"UserDataChanged"}
eventHandler.it_on_event = it_on_event
eventHandler.it_event_set = {"UserDataChanged"}

@app.after_request
def add_header(response):
Expand Down

0 comments on commit 2613f91

Please sign in to comment.