This commit is contained in:
Alhaziel01
2020-11-15 13:09:17 +01:00
parent e974ab740f
commit 71215dcba2
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -78,6 +78,7 @@ otvdb_global = None
def find_and_set_infoLabels(item):
logger.info()
# from core.support import dbg;dbg()
# logger.info("item es %s" % item)
p_dialog = None
@@ -94,7 +95,7 @@ def find_and_set_infoLabels(item):
title = title.replace(year, "").strip()
item.infoLabels['year'] = year[1:-1]
if item.infoLabels.get("tvdb_id") in ['', 'None']:
if item.infoLabels.get("tvdb_id", '') in ['', 'None']:
if item.infoLabels['year']:
otvdb_global = Tvdb(search=title, year=item.infoLabels['year'])
elif item.infoLabels.get("imdb_id"):