From a506576fd800f010740fd66223a21c0ba3105637 Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Fri, 19 Jun 2020 18:18:19 +0200 Subject: [PATCH] Fix Rinumerazione all'aggiunta in videoteca --- core/videolibrarytools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/videolibrarytools.py b/core/videolibrarytools.py index 4df38863..71f85fcc 100644 --- a/core/videolibrarytools.py +++ b/core/videolibrarytools.py @@ -998,9 +998,8 @@ def add_tvshow(item, channel=None): # del item.tmdb_stat # We clean the status so that it is not recorded in the Video Library # Get the episode list - itemlist = getattr(channel, item.action)(item) - if itemlist and not scrapertools.find_single_match(itemlist[0].title, r'(\d+.\d+)'): + if itemlist and not scrapertools.find_single_match(itemlist[0].title, r'(\d+x\d+)'): from specials.autorenumber import select_type, renumber, check if not check(item): action = item.action