Fix Sincronizzazione Libreria

This commit is contained in:
Alhaziel01
2021-07-01 12:59:55 +02:00
parent fc1ca5435f
commit fc0822f93a
2 changed files with 89 additions and 41 deletions
+1 -1
View File
@@ -1491,7 +1491,7 @@ class Tmdb(object):
imdb_id = externalIds.get('imdb_id')
tvdb_id = externalIds.get('tvdb_id')
posters = []
for image in episode['images']['stills']:
for image in episode.get('images',{}).get('stills',{}):
posters.append('https://image.tmdb.org/t/p/original' + image['file_path'])
ret_dic["episode_title"] = episodeTitle