Skip to content

Commit

Permalink
Merge pull request #851 from wildsands/645-fix-session_add_user
Browse files Browse the repository at this point in the history
Call correct API endpoint when adding users to session
  • Loading branch information
oddstr13 authored Apr 8, 2024
2 parents dfcfacb + 6208917 commit 04551f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jellyfin_kodi/jellyfin/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def post_capabilities(self, data):
return self.sessions("/Capabilities/Full", "POST", json=data)

def session_add_user(self, session_id, user_id, option=True):
return self.sessions("/%s/Users/%s" % (session_id, user_id), "POST" if option else "DELETE")
return self.sessions("/%s/User/%s" % (session_id, user_id), "POST" if option else "DELETE")

def session_playing(self, data):
return self.sessions("/Playing", "POST", json=data)
Expand Down

0 comments on commit 04551f7

Please sign in to comment.