Skip to content

Commit

Permalink
Remove duplicate identity function
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Sep 12, 2024
1 parent 36271d7 commit 9ba7838
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions jellyfin_apiclient_python/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -963,24 +963,6 @@ def identify(client, item_id, provider_ids):
body = {'ProviderIds': provider_ids}
return client.jellyfin.items('/RemoteSearch/Apply/' + item_id, action='POST', params=None, json=body)

# def identify(client, item_id, provider_ids):
# """
# Remote search for item metadata given one or more provider id.

# This method requires the user have appropriate permissions

# Args:
# item_id (str): item uuid to identify

# provider_ids (Dict):
# maps providers to the content id. (E.g. {"Imdb": "tt1254207"})

# References:
# https://api.jellyfin.org/#tag/ItemLookup/operation/ApplySearchCriteria
# """
# body = {'ProviderIds': provider_ids}
# return client.jellyfin.items('/RemoteSearch/Apply/' + item_id, action='POST', params=None, json=body)

def get_now_playing(self, session_id):
"""
Simplified API to get now playing information for a session including the
Expand Down

0 comments on commit 9ba7838

Please sign in to comment.