diff options
| author | historia <historiavg@proton.me> | 2026-08-26 17:46:48 -0400 |
|---|---|---|
| committer | historia <historiavg@proton.me> | 2026-08-26 17:46:48 -0400 |
| commit | 6ccb6d443d2fb871b43d96ea61a95bc3e6a92355 (patch) | |
| tree | d692ddccd6ec212cf4ebabb25a85e83af479d0fe /app/converter/audio.py | |
| parent | c147087c9d4707bffaeee58d390653637a21cce8 (diff) | |
| download | tts-audiobook-generator-6ccb6d443d2fb871b43d96ea61a95bc3e6a92355.tar.gz | |
feat: combined install/configure tui screens into one menu, removed extraneous wizard screens
Diffstat (limited to 'app/converter/audio.py')
| -rw-r--r-- | app/converter/audio.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/converter/audio.py b/app/converter/audio.py index 90ce5ca..def4395 100644 --- a/app/converter/audio.py +++ b/app/converter/audio.py @@ -564,7 +564,8 @@ def combine_chapters_to_m4b(chapter_files: List[Path], titles: List[str], chapters = [] start_ms = 0 with open(concat_list, "w", encoding="utf-8") as list_file: - for chapter_file, title in zip(chapter_files, titles): + for chapter_file, title in zip(chapter_files, titles, + strict=False): list_file.write(f"file '{_concat_escape(str(chapter_file))}'\n") duration_ms = probe_duration_ms(chapter_file) end_ms = start_ms + duration_ms |
