mirror of
https://github.com/santinic/audiblez.git
synced 2025-08-31 13:59:03 +00:00
fix
This commit is contained in:
parent
16ffbdcac5
commit
4fdc550771
1 changed files with 6 additions and 3 deletions
|
@ -100,9 +100,12 @@ def is_chapter(c):
|
|||
part = r"part\d{1,3}"
|
||||
if re.search(part, name):
|
||||
return True
|
||||
# ch = r"ch\d{1,3}"
|
||||
# if re.search(ch, name):
|
||||
# return True
|
||||
ch = r"ch\d{1,3}"
|
||||
if re.search(ch, name):
|
||||
return True
|
||||
chap = r"chap\d{1,3}"
|
||||
if re.search(chap, name):
|
||||
return True
|
||||
if 'chapter' in name:
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue