Merge pull request #255 from lopezvg/master
TmDB: Evita retorno de infoLabel incorrecto
This commit is contained in:
@@ -28,6 +28,14 @@
|
|||||||
"default": true,
|
"default": true,
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"visible": true
|
"visible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "include_in_newest_documentales",
|
||||||
|
"type": "bool",
|
||||||
|
"label": "Incluir en Novedades - Documentales",
|
||||||
|
"default": true,
|
||||||
|
"enabled": true,
|
||||||
|
"visible": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -404,7 +404,8 @@ def set_infoLabels_item(item, seekTmdb=True, idioma_busqueda='es', lock=None):
|
|||||||
otmdb = Tmdb(external_id=item.infoLabels['tvrage_id'], external_source="tvrage_id",
|
otmdb = Tmdb(external_id=item.infoLabels['tvrage_id'], external_source="tvrage_id",
|
||||||
tipo=tipo_busqueda, idioma_busqueda=idioma_busqueda)
|
tipo=tipo_busqueda, idioma_busqueda=idioma_busqueda)
|
||||||
|
|
||||||
if otmdb is None:
|
#if otmdb is None:
|
||||||
|
if not item.infoLabels['tmdb_id'] and not item.infoLabels['imdb_id'] and not item.infoLabels['tvdb_id'] and not item.infoLabels['freebase_mid'] and not item.infoLabels['freebase_id'] and not item.infoLabels['tvrage_id']:
|
||||||
# No se ha podido buscar por ID...
|
# No se ha podido buscar por ID...
|
||||||
# hacerlo por titulo
|
# hacerlo por titulo
|
||||||
if tipo_busqueda == 'tv':
|
if tipo_busqueda == 'tv':
|
||||||
|
|||||||
Reference in New Issue
Block a user