From f727a959d7a1bac1c44e999b4310a7f0021ac796 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Sat, 11 Jul 2020 16:03:48 +0200 Subject: [PATCH] Fix VVVVID --- channels/vvvvid.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/channels/vvvvid.py b/channels/vvvvid.py index f1084ed7..1f15a81f 100644 --- a/channels/vvvvid.py +++ b/channels/vvvvid.py @@ -148,8 +148,10 @@ def episodios(item): for episode in episodes: for key in episode: if 'stagione' in encode(key['title']).lower(): - match = support.match(encode(key['title']), patron=r'[Ss]tagione\s*(\d+) - [Ee]pisodio\s*(\d+)').match - title = match[0]+'x'+match[1] + ' - ' + item.fulltitle + season = support.match(encode(key['title']), patron=r'[Ss]tagione\s*(\d+)').match + 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 elif int(key['season_id']) == int(season_id): try: