question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plex_search "genre not found" error ignores genre requirement and continues with search

See original GitHub issue

I have a genre collection:

  "Action":
    plex_search:
      genre: Action
      collection.not: Anime

With Plex’s new beta TV agent, they’ve removed the Action and Adventure genre’s so the genre throws an error:

[2021-05-12 15:49:24,456] [builder.py:602]            [DEBUG]    | Validating Method: plex_search                                                                     |
[2021-05-12 15:49:24,456] [builder.py:603]            [DEBUG]    | Value: ordereddict([('genre', 'Action')])                                                          |
[2021-05-12 15:49:24,580] [plex.py:487]               [ERROR]    | Plex Error: genre: Action not found                                                                |
[2021-05-12 15:49:24,580] [builder.py:947]            [WARNING]  | Collection Warning: No valid genre values found in ['Action']                                      |

The script continues without crashing, but now all of the sudden it’s adding everything that’s not in collection Anime while ignoring the previous genre requirement.

I think it would make more sense if plex_search fails to find a genre, network, or any other field that needs to be exact, that the entire search fails.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
meisnate12commented, May 12, 2021

Mass_genre_update is I wanna say on the library attribute page As for smart collections, I’ve just added how to create them in develop and haven’t actually made a wiki page for them yet

0reactions
meisnate12commented, May 12, 2021

ok i added crew to plex_search as a specific case and now it will fail if an attribute isn’t found I agree that its better like that

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Bend Plex to Your Will to Handle Complex Libraries ...
Plex-auto-genres: in the same spirit that the previous script, less involved but less powerful. Gaps: “Find the missing movies in your Plex ...
Read more >
Plex-Auto-Collections/README.md at master - GitHub
You can create a collection based on the Plex search feature using the plex_search attribute ... collections: Documentaries: plex_search: genre: Documentary.
Read more >
Local Walkthrough - Plex Meta Manager Wiki
Retrieving the PMM code. Installing requirements. Setting up the initial config file. Setting up a metadata file and creating a couple sample collections....
Read more >
Python PlexAPI Documentation - Read the Docs
Unofficial Python bindings for the Plex API. Our goal is to match all capabilities of the official Plex Web Client. A few.
Read more >
Introducing dizqueTV (0.0.60) : r/PleX - Reddit
dizqueTV is a service that allows you to create always-available, continuous TV channels from your Plex library. You can create and edit as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found