|
|
@ -114,7 +114,10 @@ class TMDbAPI:
|
|
|
|
if credit.media_type == "movie":
|
|
|
|
if credit.media_type == "movie":
|
|
|
|
movie_ids.append(credit.id)
|
|
|
|
movie_ids.append(credit.id)
|
|
|
|
elif credit.media_type == "tv":
|
|
|
|
elif credit.media_type == "tv":
|
|
|
|
show_ids.append(credit.id)
|
|
|
|
try:
|
|
|
|
|
|
|
|
show_ids.append(self.convert_tmdb_to_tvdb(credit.id))
|
|
|
|
|
|
|
|
except Failed as e:
|
|
|
|
|
|
|
|
logger.warning(e)
|
|
|
|
for credit in actor_credits.crew:
|
|
|
|
for credit in actor_credits.crew:
|
|
|
|
if crew or \
|
|
|
|
if crew or \
|
|
|
|
(director and credit.department == "Directing") or \
|
|
|
|
(director and credit.department == "Directing") or \
|
|
|
|