mode 3 also need check this match pattern
This commit is contained in:
@@ -57,7 +57,7 @@ def movie_lists(root, escape_folder):
|
|||||||
total += movie_lists(f, escape_folder)
|
total += movie_lists(f, escape_folder)
|
||||||
elif os.path.splitext(f)[1].upper() in file_type:
|
elif os.path.splitext(f)[1].upper() in file_type:
|
||||||
absf = os.path.abspath(f)
|
absf = os.path.abspath(f)
|
||||||
if conf.main_mode() == 3 or (not is_link(absf) and not re.match(r'.*-trailer\..*', f, re.IGNORECASE)):
|
if not re.match(r'.*-trailer\..*', f, re.IGNORECASE) and (conf.main_mode() == 3 or not is_link(absf)):
|
||||||
total.append(absf)
|
total.append(absf)
|
||||||
return total
|
return total
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user