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

tmdb_vote_count filter is being rejected #1325

Closed
mkhazhinsky opened this issue Feb 24, 2023 · 0 comments
Closed

tmdb_vote_count filter is being rejected #1325

mkhazhinsky opened this issue Feb 24, 2023 · 0 comments
Assignees
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet

Comments

@mkhazhinsky
Copy link

Version Number

1.18.3

What branch are you on?

master

Describe the Bug

Filter tmdb_vote_count is being rejected as a valid filter.

For example, with configuration

collections:
  Movies to Remove:
    plex_all: true
    filters:
      tmdb_vote_count.lte: 100  

the following error is reported:

|   File "/modules/builder.py", line 811, in __init__                                                |
|     self._filters(method_name, method_data)                                                        |
|   File "/modules/builder.py", line 1594, in _filters                                               |
|     final_data = self.validate_attribute(filter_attr, modifier, f"{filter_final} filter", filter_data, validate) |
|                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|   File "/modules/builder.py", line 2228, in validate_attribute                                     |
|     raise Failed(f"{self.Type} Error: {final} attribute not supported")                            |
| modules.util.Failed: Collection Error: tmdb_vote_count.lte filter attribute not supported          |
|                                                                                                    |
| Collection Error: tmdb_vote_count.lte filter attribute not supported

Other tmdb filters, such as tmdb_year seems to be working fine.

Relevant Collection/Overlay/Playlist Definition

No response

Logs

No response

@mkhazhinsky mkhazhinsky added bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Feb 24, 2023
meisnate12 added a commit that referenced this issue Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager status:not-yet-viewed I haven't reviewed the Feature or Bug yet
Projects
None yet
Development

No branches or pull requests

2 participants