Fix autorenumber e support

This commit is contained in:
Alhaziel
2019-08-08 19:48:34 +02:00
parent fb88a5379a
commit a9a1043e5d
2 changed files with 13 additions and 9 deletions
+4
View File
@@ -323,6 +323,10 @@ def make_list(itemlist, item, typography, dict_series, ID, SEASON, EPISODE, MODE
addiction = 0
for item in itemlist:
# Otiene Numerazione Episodi
if scrapertoolsV2.find_single_match(item.title, r'\d+'):
continue
else:
break
episode = int(scrapertoolsV2.find_single_match(item.title, r'\d+'))
number = episode + FirstOfSeason - addiction
count = number + addiction