|
|
@ -356,7 +356,7 @@ class TMDb:
|
|
|
|
if method == "tmdb_list":
|
|
|
|
if method == "tmdb_list":
|
|
|
|
results = self.get_list(tmdb_id)
|
|
|
|
results = self.get_list(tmdb_id)
|
|
|
|
tmdb_name = results.name
|
|
|
|
tmdb_name = results.name
|
|
|
|
ids = [(i.id, "tmdb" if isinstance(i, Movie) else "tmdb_show") for i in results.get_results(results.total_results)]
|
|
|
|
ids = [(i.id, "tmdb" if isinstance(i, Movie) else "tmdb_show") for i in results.get_results()]
|
|
|
|
elif method == "tmdb_movie":
|
|
|
|
elif method == "tmdb_movie":
|
|
|
|
tmdb_name = self.get_movie(tmdb_id).title
|
|
|
|
tmdb_name = self.get_movie(tmdb_id).title
|
|
|
|
ids.append((tmdb_id, "tmdb"))
|
|
|
|
ids.append((tmdb_id, "tmdb"))
|
|
|
|