mirror of
https://github.com/DrewThomasson/ebook2audiobook.git
synced 2026-01-08 21:38:12 -05:00
v25.12.32
This commit is contained in:
@@ -1650,7 +1650,6 @@ def convert_chapters2audio(id:str)->bool:
|
|||||||
[f for f in os.listdir(session['chapters_dir_sentences']) if f.endswith(f'.{default_audio_proc_format}')],
|
[f for f in os.listdir(session['chapters_dir_sentences']) if f.endswith(f'.{default_audio_proc_format}')],
|
||||||
key=lambda x: int(re.search(r'\d+', x).group())
|
key=lambda x: int(re.search(r'\d+', x).group())
|
||||||
)
|
)
|
||||||
print(f'----------{existing_sentences}----------')
|
|
||||||
if existing_sentences:
|
if existing_sentences:
|
||||||
resume_sentence = max(int(re.search(r'\d+', f).group()) for f in existing_sentences)
|
resume_sentence = max(int(re.search(r'\d+', f).group()) for f in existing_sentences)
|
||||||
msg = f'Resuming from sentence {resume_sentence}'
|
msg = f'Resuming from sentence {resume_sentence}'
|
||||||
|
|||||||
Reference in New Issue
Block a user