fix Autorenumber

This commit is contained in:
Alhaziel01
2020-12-16 11:25:56 +01:00
parent 29d233afca
commit c55a3f444f
4 changed files with 11 additions and 8 deletions
+3 -2
View File
@@ -2,7 +2,7 @@
# ------------------------------------------------------------
# Canale per vvvvid
# ----------------------------------------------------------
import requests, sys
import requests, sys, inspect
from core import support, tmdb
from platformcode import autorenumber, logger
@@ -170,7 +170,8 @@ def episodios(item):
url= host + show_id + '/season/' + str(key['season_id']),
action= 'findvideos',
video_id= key['video_id']))
autorenumber.start(itemlist, item)
if inspect.stack()[1][3] not in ['find_episodes']:
autorenumber.start(itemlist, item)
if autorenumber.check(item) == True \
or support.match(itemlist[0].title, patron=r"(\d+x\d+)").match:
support.videolibrary(itemlist,item)