From e6b058af41e3772a89b96cead8f28473f11db0b8 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sun, 11 Jul 2021 09:35:50 +0200 Subject: [PATCH] Add negate for BABS --- commands/BABS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/BABS.py b/commands/BABS.py index 2a97233..40110ee 100755 --- a/commands/BABS.py +++ b/commands/BABS.py @@ -42,7 +42,7 @@ standalone_episode_regexs = [ '(.*?)( \(([0-9]+)\))?[Ss]([0-9]+)+[Ee]([0-9]+)(-[0-9]+[Xx]([0-9]+))?( - (.*))?' # standard s00e00 ] -season_regex = '.*?(?P[0-9]{1,2})' # folder for a season +season_regex = '.*?(?P[0-9]{1,2})+(?![^\(]*\))' # folder for a season just_episode_regexs = [ '(?P[0-9]{1,3})[\. -_]*of[\. -_]*[0-9]{1,3}', # 01 of 08