Fix Community and tmdb

This commit is contained in:
Alhaziel
2019-11-05 17:18:25 +01:00
parent fddc03c37f
commit a6f5cb2061
2 changed files with 32 additions and 26 deletions
+4 -4
View File
@@ -370,13 +370,13 @@ def set_infoLabels_item(item, seekTmdb=True, idioma_busqueda=def_lang, lock=None
if temporada:
# Actualizar datos
__leer_datos(otmdb_global)
item.infoLabels['title'] = temporada['name']
if temporada['overview']:
item.infoLabels['title'] = temporada['name'] if temporada.has_key('name') else ''
if temporada.has_key('overview') and temporada['overview']:
item.infoLabels['plot'] = temporada['overview']
if temporada['air_date']:
if temporada.has_key('air_date') and temporada['air_date']:
date = temporada['air_date'].split('-')
item.infoLabels['aired'] = date[2] + "/" + date[1] + "/" + date[0]
if temporada['poster_path']:
if temporada.has_key('poster_path') and temporada['poster_path']:
item.infoLabels['poster_path'] = 'http://image.tmdb.org/t/p/original' + temporada['poster_path']
item.thumbnail = item.infoLabels['poster_path']