Merge remote-tracking branch 'alfa-addon/master' into explora

This commit is contained in:
Unknown
2018-05-24 09:08:41 -03:00
32 changed files with 2363 additions and 1001 deletions
+1 -1
View File
@@ -458,7 +458,7 @@ def get_season_and_episode(title):
"""
filename = ""
patrons = ["(\d+)x(\d+)", "(?:s|t)(\d+)e(\d+)",
patrons = ["(\d+)x(\d+)", "(\d+)×(\d+)", "(?:s|t)(\d+)e(\d+)",
"(?:season|temp\w*)\s*(\d+)\s*(?:capitulo|epi\w*)\s*(\d+)"]
for patron in patrons:
+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'