diff --git a/VERSION b/VERSION index d19d0890..8fab5479 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.15.0 \ No newline at end of file +1.15.0-develop220122 \ No newline at end of file diff --git a/modules/tmdb.py b/modules/tmdb.py index ec9acfa8..e2e0117a 100644 --- a/modules/tmdb.py +++ b/modules/tmdb.py @@ -217,20 +217,20 @@ class TMDb: person = self.get_person(tmdb_id) tmdb_name = person.name if method == "tmdb_actor": - ids = [(i.id, "tmdb") for i in person.movie_cast] - ids.extend([(i.id, "tmdb_show") for i in person.tv_cast]) + ids = [(i.movie.id, "tmdb") for i in person.movie_cast] + ids.extend([(i.tv_show.id, "tmdb_show") for i in person.tv_cast]) elif method == "tmdb_crew": - ids = [(i.id, "tmdb") for i in person.movie_crew] - ids.extend([(i.id, "tmdb_show") for i in person.tv_crew]) + ids = [(i.movie.id, "tmdb") for i in person.movie_crew] + ids.extend([(i.tv_show.id, "tmdb_show") for i in person.tv_crew]) elif method == "tmdb_director": - ids = [(i.id, "tmdb") for i in person.movie_crew if i.department == "Directing"] - ids.extend([(i.id, "tmdb_show") for i in person.tv_crew]) + ids = [(i.movie.id, "tmdb") for i in person.movie_crew if i.department == "Directing"] + ids.extend([(i.tv_show.id, "tmdb_show") for i in person.tv_crew if i.department == "Directing"]) elif method == "tmdb_writer": - ids = [(i.id, "tmdb") for i in person.movie_crew if i.department == "Writing"] - ids.extend([(i.id, "tmdb_show") for i in person.tv_crew]) + ids = [(i.movie.id, "tmdb") for i in person.movie_crew if i.department == "Writing"] + ids.extend([(i.tv_show.id, "tmdb_show") for i in person.tv_crew if i.department == "Writing"]) elif method == "tmdb_producer": - ids = [(i.id, "tmdb") for i in person.movie_crew if i.department == "Production"] - ids.extend([(i.id, "tmdb_show") for i in person.tv_crew]) + ids = [(i.movie.id, "tmdb") for i in person.movie_crew if i.department == "Production"] + ids.extend([(i.tv_show.id, "tmdb_show") for i in person.tv_crew if i.department == "Production"]) else: raise Failed(f"TMDb Error: Method {method} not supported") if len(ids) > 0: diff --git a/requirements.txt b/requirements.txt index d4bb09c3..7dbf1e1e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ PlexAPI==4.8.0 -tmdbapis==0.1.4 +tmdbapis==0.1.6 arrapi==1.3.0 lxml==4.7.1 requests==2.27.1