Update trakt_tools.py

This commit is contained in:
Intel1
2018-05-21 12:49:04 -05:00
committed by GitHub
parent 081dad6404
commit d54046be01
+5 -1
View File
@@ -203,13 +203,17 @@ def trakt_check(itemlist):
id_result = ''
# check = u'\u221a'
check = 'v'
get_sync_from_file()
synced = False
try:
for item in itemlist:
info = item.infoLabels
if info != '' and info['mediatype'] in ['movie', 'episode'] and item.channel != 'videolibrary':
if not synced:
get_sync_from_file()
synced = True
mediatype = 'movies'
id_type = 'tmdb'