This commit is contained in:
marco
2020-04-07 23:48:16 +02:00
parent 073755251a
commit aa5d37551b
2 changed files with 20 additions and 17 deletions
+8 -1
View File
@@ -301,7 +301,7 @@ def scrapeBlock(item, args, block, patron, headers, action, pagination, debug, t
infoLabels=infolabels,
thumbnail=item.thumbnail if function == 'episodios' and not scraped["thumb"] else scraped["thumb"] if scraped["thumb"] else '',
args=item.args,
contentSerieName= scraped['title'] if item.contentType or CT != 'movie' and function != 'episodios' else item.fulltitle if function == 'episodios' else '',
contentSerieName= scraped['title'] if scraped['title'] else item.fulltitle if item.contentType or CT != 'movie' and function != 'episodios' else item.fulltitle if function == 'episodios' else '',
contentTitle= scraped['title'] if item.contentType or CT == 'movie' else '',
contentLanguage = lang1,
contentEpisodeNumber=episode if episode else '',
@@ -963,6 +963,13 @@ def videolibrary(itemlist, item, typography='', function_level=1, function=''):
contentType = 'tvshow'
function = function if function else inspect.stack()[function_level][3]
# go up until find findvideos/episodios
while function not in ['findvideos', 'episodios']:
function_level += 1
try:
function = inspect.stack()[function_level][3]
except:
break
if not typography: typography = 'color kod bold'