#Tagging and filtering Specific Persons - Questions

1 messages Β· Page 1 of 1 (latest)

viscid barn
#

Hi guys

I'm using my Plex server since more than 5 years.
I do a lot of homevideos, which i have represented in a TV-Library.

As i have a lot of people in my movies, i want to "tag" the episode with specific persons. Goal then would be, that i can filter for "Person A" and find all the episodes of my tv-show, which the person is tagged.

I tried Director / Writer, but they can't be filtered. Also with Kometa they are not filterable to a collection, which is very sad.
Actor can be filtered, but they can't be pushed down to a single Episode, as they can be assigned with the avalonagentxml tool only to the complete TV-Show.

Just for context, i have my library splitet into decades, so a "tv-Show" is 2000-2009, Season is 2001 and all the episodes from 2001 are then in this Season.
I can't change that to Movies, as this is a perfect way to sort my over 300 Home-Videos.

I know with a change to movies, this would be working.
Tagging the MP4 with Artist in the mp3tag-tool is aso not working, probably because it's not a Movie...
Do you see any change to still have my structure with TV-Shows / Seasons / Episodes, and still filter to a specific person?

twilit veldtBOT
#

Welcome @viscid barn!

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

lone flume
#

I tried Director / Writer, but they can't be filtered. Also with Kometa they are not filterable to a collection, which is very sad.
Actor can be filtered, but they can't be pushed down to a single Episode

Not sure where you're getting this idea, as all this is possible.

The defaults have collections based on all three of these things at the show level.

viscid barn
lone flume
#

What is the specific YAML you are using? If it were not possible to do this the defaults wouldn't work.

#

Please provide a full log with any custom YAML.

viscid barn
twilit veldtBOT
#

πŸ“ If you want to review this again, omi93_:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> πŸ“

viscid barn
#

Hi, here the Meta-Log and my collections-yml, which i refer in the config.yml

lone flume
#

First, if you want this to act on episodes, you need to tell Kometa to do so:

collections:
  Omero-Episode-director:
    plex_all: true
    filters:
      director: Omero
viscid barn
#

what should i use instead?
I used plex_all, because this works great with filters, as i understood from the Wiki?

lone flume
#

The default is for builders to act on the show or movie level. If you want to apply them at a lower level you need to set the builder_level

#

In a filter, "Director" is only valid for movies and episodes, since shows and seasons do not have directors.

#

So if you want episodes directed by Omero:

collections:
  Omero-Episode-director:
    builder_level: episode
    plex_all: true
    filters:
      director: Omero
#

This would probably be much faster:

collections:
  Omero-Episode-director:
    builder_level: episode
    plex_search:
      all:
        director: Omero

since it's faster to say "hey plex give me all the episodes directed by Omero" than "Hey plex give me all the episodes and I'll look at every one to see if it was directed by Omero"

viscid barn
lone flume
#

Does the filter version work?

viscid barn
#

No, it only tells me, that no item couldn't be found

lone flume
#

As a test, running this yaml against test movie and TV libraries:

collections:
  # Show/movie
  director-search-movie:
    plex_search:
      all:
        director: Nicholas Meyer

  director-filter-movie:
    plex_all: true
    filters:
      director: Nicholas Meyer

  director-search-show:
    plex_search:
      all:
        director: Vince Gilligan

  director-filter-show:
    plex_all: true
    filters:
      director: Vince Gilligan

  writer-search-movie:
    plex_search:
      all:
        writer: Nicholas Meyer

  writer-filter-movie:
    plex_all: true
    filters:
      writer: Nicholas Meyer

  writer-search-show:
    plex_search:
      all:
        writer: Vince Gilligan

  writer-filter-show:
    plex_all: true
    filters:
      writer: Vince Gilligan

  actor-search-movie:
    plex_search:
      all:
        actor: Leonard Nimoy

  actor-filter-movie:
    plex_all: true
    filters:
      actor: Leonard Nimoy

  actor-search-show:
    plex_search:
      all:
        actor: Bryan Cranston

  actor-filter-show:
    plex_all: true
    filters:
      actor: Bryan Cranston

  # Season
  director-search-season:
    builder_level: season
    plex_search:
      type: season
      all:
        director: Vince Gilligan

  director-filter-season:
    builder_level: season
    plex_all: true
    filters:
      director: Vince Gilligan

  writer-search-season:
    builder_level: season
    plex_search:
      type: season
      all:
        writer: Vince Gilligan

  writer-filter-season:
    builder_level: season
    plex_all: true
    filters:
      writer: Vince Gilligan

  actor-search-season:
    builder_level: season
    plex_search:
      type: season
      all:
        actor: Bryan Cranston

  actor-filter-season:
    builder_level: season
    plex_all: true
    filters:
      actor: Bryan Cranston

  # Episode
  director-search-episode:
    builder_level: episode
    plex_search:
      type: episode
      all:
        director: Vince Gilligan

  director-filter-episode:
    builder_level: episode
    plex_all: true
    filters:
      director: Vince Gilligan

  writer-search-episode:
    builder_level: episode
    plex_search:
      type: episode
      all:
        writer: Vince Gilligan

  writer-filter-episode:
    builder_level: episode
    plex_all: true
    filters:
      writer: Vince Gilligan

  actor-search-episode:
    builder_level: episode
    plex_search:
      type: episode
      all:
        actor: Bryan Cranston

  actor-filter-episode:
    builder_level: episode
    plex_all: true
    filters:
      actor: Bryan Cranston
#

I removed the stuff that obviosly doesn't work like all the show stuff in the movie library and vice versa

#

I guess perhaps those filters and searches don't work consistently at lower levels.

viscid barn
#

i have the nearly same results, but on the director-filter-episode i have Vince xxx not found, but i added him manually to some episodes as a Director or even Writer
Thanks for your help, but that means that it's a unresolved issue at the moment.
i will try it again in some Months or years πŸ˜†
But thanks a lot for exploring that with me!

lone flume
#

I would probably test with names you know are in your library rather than adding the new level of setting a name. I just picked Vince since he wrote and directed many episodes of Breaking Bad, which is in that test library.

viscid barn
lone flume
#

The test-library should be pretty simple. Unpack, create libraries, point Plex at those folders.

viscid barn
#

already done that, i ran the collets from you to the test-library with the results above

lone flume
#

I took this:

check also with the test-library, if i can get it to run

To mean that you couldn't get the test libraries to run.

viscid barn
#

ah no, that was the easy part πŸ™‚

fickle mapleBOT
#

chazlarson used !aenh

@viscid barn, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.

viscid barn
#

Just an update, if anyone has the same problem, i found a solution...
You can exctract the Director / Writer from the Plex DB --> SELECT title, tags_director from metadata_items where tags_director LIKE '%DIRECTOR%'
I write it then in a YML and with e pythonscript i extract the title into a YML Config file for a colletion with Kometa πŸ˜„
A little bit more complicated, but this should workπŸ˜„