mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-21 20:13:05 +00:00
fixed tmdb_people
This commit is contained in:
parent
d92a86cde0
commit
2a16d09a6c
1 changed files with 2 additions and 3 deletions
|
@ -554,11 +554,10 @@ class Config:
|
|||
elif method_name in ["year", "year.not"]: methods.append(("plex_search", [[(method_name, util.get_year_list(collections[c][m], method_name))]]))
|
||||
elif method_name in ["decade", "decade.not"]: methods.append(("plex_search", [[(method_name, util.get_int_list(collections[c][m], util.remove_not(method_name)))]]))
|
||||
elif method_name in ["actor_details_tmdb", "director_details_tmdb", "writer_details_tmdb"]:
|
||||
tmdb_ids = util.get_int_list(collections[c][m], "TMDb Person ID")
|
||||
valid_ids = []
|
||||
for valid_id in valid_ids:
|
||||
for tmdb_id in util.get_int_list(collections[c][m], "TMDb Person ID"):
|
||||
try:
|
||||
person = self.TMDb.get_person(valid_id)
|
||||
person = self.TMDb.get_person(tmdb_id)
|
||||
valid_ids.append(library.get_actor_rating_key(person.name) if method_name == "actor_details_tmdb" else person.name)
|
||||
if "summary" not in details and hasattr(person, "biography") and person.biography:
|
||||
details["summary"] = person.biography
|
||||
|
|
Loading…
Reference in a new issue