Più informazioni da TMDB

This commit is contained in:
Alhaziel01
2021-05-11 20:35:36 +02:00
parent c942f9b4ec
commit 4e980e426c
2 changed files with 27 additions and 4 deletions
+4
View File
@@ -404,6 +404,10 @@ def set_infoLabels_item(item, seekTmdb=True, search_language=def_lang):
# carry out another search to expand the information
otmdb = Tmdb(id_Tmdb=otmdb.result.get("id"), search_type=search_type,
search_language=search_language)
if otmdb:
info = otmdb.get_infoLabels(item.infoLabels)
otmdb = Tmdb(id_Tmdb=info['tmdb_id'], search_type=search_type,
search_language=search_language)
if otmdb is not None and otmdb.get_id():
# The search has found a valid result