Files
abogen/tests
Artem Akymenko c76cf74efc refactor: unify duplicated logic between WebUI and PyQt
domain/output_paths.py:
- Add sanitize_filename_for_chapter() with OS safety + smart truncation
- Keep existing slugify() for backward compatibility

domain/text_chapters.py (NEW):
- parse_chapters_from_text() combines intro preservation (PyQt) + clean_text (WebUI)

PyQt/conversion.py:
- Replace 3x copy-pasted ASS/SRT headers with create_subtitle_writer()
- Replace inline M4B muxing with ExportService.embed_m4b_metadata()
- Replace inline chapter splitting with parse_chapters_from_text()
- Replace inline chapter filename sanitization with sanitize_filename_for_chapter()
- Remove unused _CHAPTER_MARKER_SEARCH_PATTERN import

Tests: 1152 passed (+21 new)
2026-07-19 07:50:02 +00:00
..
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00
2026-01-09 01:36:14 +03:00