Skip to content

Conversation

@mdinicola
Copy link
Contributor

I found the searchDiscover method is broken. Plex now requires a new parameter called searchProviders to be provided in the query. This parameter is a comma separated string with the following values:

  • discovery: This is the default behavior matching the previous functionality
  • PLEXAVOD: Plex ad-supported video service
  • PLEXTVOD: Plex transactional video service. I've also seen this referred to as Plex Rentals.

I've updated the searchDiscover method to default to just "discovery", with the option for users to include the other providers if they wish.

@JonnyWong16
Copy link
Collaborator

Please fix flake8 trailing whitespace.

query (str): Search query.
limit (int, optional): Limit to the specified number of results. Default 30.
libtype (str, optional): 'movie' or 'show' to only return movies or shows, otherwise return all items.
searchprovider (str, optional): 'discover' for default behavior
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
searchprovider (str, optional): 'discover' for default behavior
searchProviders (str, optional): 'discover' for default behavior

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe even just name the argument providers.

@glensc
Copy link
Contributor

glensc commented Jul 5, 2024

Blocks Taxel/PlexTraktSync#2002

@JonnyWong16 JonnyWong16 merged commit c7f4388 into pushingkarmaorg:master Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants