Skip to content

Commit

Permalink
Update item metadata docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jan 21, 2024
1 parent 4a4b02b commit 1ca9586
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jellyfin_apiclient_python/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,17 @@ def get_item_metadata(self, item_id):

def update_item_metadata(self, item_id, data):
"""
Updates the metadata for an item.
Requires a user with elevated permissions [UpdateItem]_.
Args:
item_id (str): item uuid to update metadata for
data (Dict): the new information to add to this item.
References:
.. [UpdateItem] https://api.jellyfin.org/#tag/ItemUpdate/operation/UpdateItem
"""
# Force us to get the entire original item, we need to pass
# all information, otherwise all info is overwritten
Expand Down

0 comments on commit 1ca9586

Please sign in to comment.