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

Plex Error: actor: xxxx not found #151

Closed
Alaksin opened this issue Mar 30, 2021 · 7 comments · Fixed by #165
Closed

Plex Error: actor: xxxx not found #151

Alaksin opened this issue Mar 30, 2021 · 7 comments · Fixed by #165
Assignees
Labels
bug Bug is with Plex Meta Manager

Comments

@Alaksin
Copy link

Alaksin commented Mar 30, 2021

I have collections for concerts that search for title and actor. The metadata on concerts is not very consistent so searching on both a band name and the members will get me good result. But since the latest changes this has stopped working. If the actor in the plex search doesnt exist then the collection will fail

templates:
  Bands:
    sync_mode: sync
    collection_order: release
    name_mapping: "- Bands/<<collection_name>>"
    plex_search:
      title: <<collection_name>>

collections:
  King Crimson:
    template:
      name: Bands
    actor:
      - Robert Fripp


Scanning King Crimson Collection                                                                   |
| Plex Error: actor: Robert Fripp not found 

I also wonder if I can use lists with the templates? I'm quite sure I did it before but now it crashes if I do something like this:

templates:
  Bands:
    sync_mode: sync
    collection_order: release
    name_mapping: "- Bands/<<collection_name>>"
    plex_search:
      title: <<collection_name>>
      actor: <<members>>

collections:
  Led Zeppelin:
    template:
      name: Bands
      members:
        - Jimmy Page
        - Robert Plant
        - John Paul Jones
        - John Bonham
@meisnate12
Copy link
Member

i can have it continue if it cant find the actor and I haven't tried lists in templates ill try it out and see if I can fix it

@meisnate12 meisnate12 added the bug Bug is with Plex Meta Manager label Mar 30, 2021
@meisnate12 meisnate12 self-assigned this Mar 30, 2021
@Alaksin
Copy link
Author

Alaksin commented Mar 30, 2021

Makes more sense to treat it like not found instead of aborting the search

@meisnate12
Copy link
Member

ok so for now no lists do not work with templates ill see if i can manage it but what you can do is give it a comma separated string like:

collections:
  Led Zeppelin:
    template:
      name: Bands
      members: Jimmy Page, Robert Plant, John Paul Jones, John Bonham

meisnate12 added a commit that referenced this issue Mar 30, 2021
@meisnate12
Copy link
Member

ok the error and template lists should be fixed in develop

@Alaksin
Copy link
Author

Alaksin commented Mar 31, 2021

The search works now, but the output looks a bit strange

| Scanning King Crimson Collection                                                                   |
| Plex Error: actor: Robert Fripp not found                                                          |
|                                                                                                    |
| Sync Mode: sync                                                                                    |
|                                                                                                    |
| Processing Plex Search: )                                                                          |
| No items found to add to this collection                                                           |
|                                                                                                    |
| Processing Plex Search: title(King Crimson)                                                        |
| King Crimson Collection | + | King Crimson: Rock in Rio                                            |
| 1 Movie Processed                                                                                  |

This part Processing Plex Search: ). Looks like it's searching even though it already can't find the actor

meisnate12 added a commit that referenced this issue Mar 31, 2021
@meisnate12
Copy link
Member

ok try it again

@Alaksin
Copy link
Author

Alaksin commented Mar 31, 2021

Looks much better!

| Scanning King Crimson Collection                                                                   |
| Plex Error: actor: Robert Fripp not found                                                          |
| Collection Warning: No valid actor values found in ['Robert Fripp']                                |
|                                                                                                    |
| Sync Mode: sync                                                                                    |
|                                                                                                    |
| Processing Plex Search: title(King Crimson)                                                        |
| King Crimson Collection | = | King Crimson: Rock in Rio                                            |
| 1 Movie Processed       

@meisnate12 meisnate12 mentioned this issue Apr 5, 2021
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants