Kometa-Team / Kometa

Python script to update metadata information for items in plex as well as automatically build collections and playlists. The Wiki Documentation is linked below.
https://kometa.wiki
MIT License
2.44k stars 304 forks source link

"People" search doesn't forward to Radarr #70

Closed jfeeser closed 3 years ago

jfeeser commented 3 years ago

Hi there,

I've got PMM working really well, and have lots of collections set up. One thing i've noticed is that while "chart" and "list" collections based on IMDB and Trakt seem to add things that are missing from the list to Radarr, (e.g. IMDB top 250, Trakt list of the Criterion Collection movies), when i do a search on TMDB for, say, a Director, it creates the collection properly for existing movies, but it doesn't seem to add movies missing from the list to radarr. Can this behavior be changed?

meisnate12 commented 3 years ago

can you paste your collection configuration for that collection

jfeeser commented 3 years ago
templates:

  Director:
    director: tmdb
    tmdb_person: <<person>>
    sort_title: 00 - 03 - Collections - <<collection_name>>
    sync_mode: sync
    collection_order: release

 Collection:
   Sam Raimi Collection:
     summary: Samuel Marshall "Sam" Raimi is an American film director, producer, actor and writer. He is best known for directing cult horror films like the Evil Dead series, Darkman and Drag Me to Hell, as well as the blockbuster Spider-Man films and the producer of the successful TV series Hercules The Legendary Journeys, Xena Warrior Princess, Legend of the Seeker and Spartacus Blood and Sand.
     template: {name: Director, person: 7623}
     schedule: monthly(1)
jfeeser commented 3 years ago

i basically lifted this from the metadata config example file in the wiki.

meisnate12 commented 3 years ago

The reason this doesn't work with radarr is because it's looking at who's the director in the plex director field using plex search. All it's getting from tmdb is the pic, bio, and the actors name. So it's only looking at your plex, not tmdb or any other site.

You might be able to get what your looking for using tmdb_discover and using with_cast, with_crew, or with_people.

jfeeser commented 3 years ago

I just gave it a go and no such luck there, unfortunately. With_crew is too broad - in the example of Sam Raimi, it's picking up everything he directed, but it's also returning hits for things like screenwriter, producer, etc.

jfeeser commented 3 years ago

FWIW, i just did some digging on the TMDB forums and it looks like "with_crew" doesn't support being that granular - their recommendation is to pull the "crew" results and then filtter by "job".

https://www.themoviedb.org/talk/5c3642ac0e0a265a7d7c972f

meisnate12 commented 3 years ago

Ok I can work with that I'll see what I can come up with for you

meisnate12 commented 3 years ago

I had to add the credits endpoints to tmdbv3api so now I'm waiting on their PyPl to be updated to 1.7.5 then this can continue

meisnate12 commented 3 years ago

ok you can now use tmdb_actor, tmdb_crew, tmdb_director, tmdb_producer, and tmdb_writer in the develop branch if you care to test before its pushed into full release

jfeeser commented 3 years ago

Just tested it out and it works great. Thanks!