Fix VVVVID

This commit is contained in:
Alhaziel01
2020-07-11 16:03:48 +02:00
parent 5e8b6894a4
commit f727a959d7
+4 -2
View File
@@ -148,8 +148,10 @@ def episodios(item):
for episode in episodes: for episode in episodes:
for key in episode: for key in episode:
if 'stagione' in encode(key['title']).lower(): if 'stagione' in encode(key['title']).lower():
match = support.match(encode(key['title']), patron=r'[Ss]tagione\s*(\d+) - [Ee]pisodio\s*(\d+)').match season = support.match(encode(key['title']), patron=r'[Ss]tagione\s*(\d+)').match
title = match[0]+'x'+match[1] + ' - ' + item.fulltitle episode = support.match(encode(key['title']), patron=r'[Ee]pisodio\s*(\d+)').match
if season and episode:
title = season + 'x' + episode + ' - ' + item.fulltitle
make_item = True make_item = True
elif int(key['season_id']) == int(season_id): elif int(key['season_id']) == int(season_id):
try: try: