Skip to content

Commit

Permalink
Call correct API endpoint when adding users to session
Browse files Browse the repository at this point in the history
  • Loading branch information
wildsands committed Apr 8, 2024
1 parent dfcfacb commit 6208917
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 6208917

Please sign in to comment.