Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plexapi.exceptions.BadRequest: Unknown filter category: actor #233

Open
filviu opened this issue May 11, 2021 · 2 comments
Open

plexapi.exceptions.BadRequest: Unknown filter category: actor #233

filviu opened this issue May 11, 2021 · 2 comments

Comments

@filviu
Copy link

filviu commented May 11, 2021

Hi,

First: thanks for picking up this project - I use it a lot. I'm hitting an issue with actor based collections. I read the Read me and tried all the variations I found in the readme:

collections:
  Sean Connery:
    actor: Sean Connery

collections:
  Sean Connery:
    actors: Sean Connery

collections:
  Sean Connery:
    plex_search:
      actor: Sean Connery

collections:
  Sean Connery:
    plex_search:
      actors: Sean Connery

but in all 4 cases (tried one by one, not all at once) I'm getting the following error:

| Sync Mode: sync
| Processing Plex Search: actor(Sean Connery)
Traceback (most recent call last):
  File "/home/user/Plex-Auto-Collections/app/plex_auto_collections.py", line 1026, in <module>
    update_from_config(config_path, plex, True, args.no_meta, args.no_images)
  File "/home/user/Plex-Auto-Collections/app/plex_auto_collections.py", line 668, in update_from_config
    missing, map = add_to_collection(config_path, plex, m, v, c, plex_map, map, filters)
  File "/home/user/Plex-Auto-Collections/app/plex_tools.py", line 242, in add_to_collection
    items = plex.Library.search(**search_terms)
  File "/home/user/.local/lib/python3.9/site-packages/plexapi/library.py", line 669, in search
    args[category] = self._cleanSearchFilter(category, value, libtype)
  File "/home/user/.local/lib/python3.9/site-packages/plexapi/library.py", line 717, in _cleanSearchFilter
    raise BadRequest('Unknown filter category: %s' % category)
plexapi.exceptions.BadRequest: Unknown filter category: actor

Tried latest git and v2.8.2 python 3.9 and 3.7 all with the same result. Am I doing something wrong ?
Thanks!

@meisnate12
Copy link

development here has stalled check out the updated Plex Meta Manager.

@filviu
Copy link
Author

filviu commented May 11, 2021

will do. thanks

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

No branches or pull requests

2 participants