Commit Graph
480 Commits
Author SHA1 Message Date
JB 8ed5202ab8 Add chapter and speaker preparation templates for audiobook conversion workflow
- Created `prepare_chapters.html` to allow users to select and configure chapters for conversion, including options for voice profiles and chunk granularity.
- Developed `prepare_speakers.html` for assigning voices to detected speakers, auditioning samples, and applying saved speaker configurations.
- Implemented step indicators and navigation between chapters and speakers in the UI.
- Added error and notice handling for user feedback during the preparation process.
- Included scripts for voice catalog and language mapping to enhance user experience.
2025-10-11 09:31:49 -07:00
JB 4b0aa50da6 feat: Add 'Find Books' page and integrate links to Standard Ebooks and Project Gutenberg 2025-10-11 08:58:14 -07:00
JB 97fd8b85fc feat: Refactor reader modal implementation and enhance dashboard event handling 2025-10-11 07:13:59 -07:00
JB 5be4da1cce feat: Refactor event handling in dashboard for improved modal interactions and event resolution 2025-10-11 06:33:47 -07:00
JB 3e7bbd648c feat: Enhance job handling with download options for M4B, EPUB 3, and improved UI for speaker selection 2025-10-11 06:04:44 -07:00
JB e15d2b12a3 feat: Update Dockerfile to include mutagen dependency and enhance dashboard event handling 2025-10-11 05:41:44 -07:00
JB aed0df1b09 feat: Enhance dashboard and prepare wizard functionality with speaker step handling and UI updates 2025-10-10 19:18:26 -07:00
JB 60fe7e7ffb feat: Enhance upload form layout with flexible display and improved section handling 2025-10-10 18:48:01 -07:00
JB 20327faf0c feat: Enhance file upload experience with drag-and-drop support and improved UI for upload dropzone 2025-10-10 18:07:18 -07:00
JB be37f03109 Add number normalization and enhance UI for voice preview
- Implemented number conversion to words for grouped numbers in text normalization.
- Added configuration options for number conversion in ApostropheConfig.
- Updated the normalize_apostrophes function to include number normalization.
- Enhanced the dashboard UI with new sections for manuscript and narrator defaults.
- Improved voice preview functionality with better handling of audio playback and status updates.
- Refactored HTML templates for cleaner structure and added new fields for speaker settings.
- Updated CSS styles for improved layout and responsiveness.
- Added tests to ensure correct spelling of grouped numbers in the normalization process.
- Included num2words as a new dependency in pyproject.toml.
2025-10-10 16:12:51 -07:00
JB f35b35c7a9 feat: Enhance EPUB export by grouping chunks for rendering and adding group ID support 2025-10-10 14:43:28 -07:00
JB 283651e7dd fix: Simplify HTML rendering in chunk output by removing unnecessary line breaks 2025-10-10 12:50:48 -07:00
JB 4f46eb74f4 feat: Add original text preservation in chunk overlays and enhance whitespace handling in EPUB export 2025-10-10 12:08:22 -07:00
JB 15c1220ba3 feat: Enhance chunking logic to include display text and preserve whitespace in sentences 2025-10-10 11:17:14 -07:00
JB 443dee09b6 feat: Integrate roman numeral normalization in chapter titles and enhance related tests 2025-10-10 09:31:27 -07:00
JB 3a91e79cb6 feat: Enhance text normalization and chunking logic to preserve original whitespace and handle abbreviations 2025-10-10 08:38:00 -07:00
JB 258c3549f7 feat: Enhance reader styling and accessibility with improved layout and focus indicators 2025-10-10 07:42:13 -07:00
JB e7408a06b8 feat: Implement EPUB reader modal with navigation and audio playback features 2025-10-10 06:48:59 -07:00
JB e37ef99856 feat: Add speaker mode selection and skip logic for speakers step in the wizard 2025-10-09 14:20:36 -07:00
JB 01a6267c7a feat: Implement voice fallback logic and enhance voice resolution tests for custom mixes 2025-10-09 13:58:21 -07:00
JB f0b6976d12 feat: Enhance voice formula parsing and validation, implement voice asset caching, and add tests for new functionality 2025-10-09 13:37:36 -07:00
JB 6bd301b707 feat: Add static job logs view and enhance logging functionality with improved UI and error handling 2025-10-09 12:29:38 -07:00
JB 205c435e72 feat: Add retry functionality for jobs and update UI to support job retries 2025-10-09 11:46:38 -07:00
JB 9828730061 feat: Enhance error logging in conversion job and service with detailed traceback information 2025-10-09 11:01:31 -07:00
JB da0c453205 feat: Refactor speaker configuration and UI components, enhance custom mix functionality, and improve styling for better usability 2025-10-09 10:12:11 -07:00
JB 63f9474741 feat: Implement logging filter for successful HTTP access logs and enhance modal styling for better usability 2025-10-09 05:51:45 -07:00
JB b0875c7486 Enhance audiobook workflow UI with modal and styling updates
- Updated styles.css to introduce new modal and card styles for improved layout and responsiveness.
- Modified index.html to implement a modal for uploading files and settings, enhancing user experience.
- Refactored prepare_job.html to support a wizard-like interface for preparing jobs, including step indicators and dynamic content updates.
- Added functionality for gender selection and voice mixing in the speaker preparation section.
- Improved accessibility and usability with better hints and instructions throughout the forms.
2025-10-08 15:15:10 -07:00
JB 881717c4cb Refactor templates for audiobook preparation and settings
- Updated navigation in base.html to include a link to the queue section.
- Modified index.html to change step labels and added a jobs panel for real-time updates.
- Enhanced prepare_job.html with a wizard-style step navigation and improved speaker configuration options.
- Added new fields for speaker analysis settings and chapter options in prepare_job.html.
- Introduced a voice selection modal for better user experience in speaker selection.
- Updated settings.html to allow selection of randomizer languages for speakers.
- Cleaned up speakers.html by removing unnecessary language selection fields and ensuring consistency in speaker configuration.
2025-10-08 12:50:50 -07:00
JB d01887f31b feat: Add speaker configuration management and UI enhancements
- Introduced a new speaker configuration page with the ability to create, edit, and delete speaker presets.
- Added a step indicator to guide users through the audiobook workflow.
- Enhanced the audiobook creation process by allowing users to select speaker presets and configure individual speaker settings.
- Implemented dynamic UI elements for managing speaker rows, including adding and removing speakers.
- Updated existing templates to integrate speaker configuration features and improve user experience.
- Added JavaScript functionality for managing speaker rows and ensuring proper form handling.
- Created a new module for handling speaker configuration data storage and retrieval.
2025-10-08 11:19:52 -07:00
JB 1bae37477b feat: Enhance speaker analysis with gender inference and update related tests 2025-10-08 07:09:12 -07:00
JB 3b07df9708 feat: Add title and suffix abbreviation expansion, ensure terminal punctuation, and enhance speaker analysis functionality 2025-10-08 05:43:49 -07:00
JB b0cfd8d687 fix: Remove unnecessary newline in _reassign function 2025-10-07 18:08:28 -07:00
JB 41f56a8491 feat: Implement speaker analysis and EPUB 3 export functionality
- Added speaker analysis module to infer speaker identities from text chunks.
- Introduced SpeakerGuess and SpeakerAnalysis data classes for managing speaker data.
- Developed functions for analyzing speaker occurrences and confidence levels.
- Created EPUB 3 exporter to generate EPUB packages with synchronized narration and media overlays.
- Implemented configurable chunking options for TTS synthesis and EPUB alignment.
- Enhanced JavaScript for speaker preview functionality in the web interface.
- Added comprehensive tests for chunking and EPUB exporting features.
- Documented upgrade plan for transitioning to EPUB 3 with multi-speaker support.
2025-10-07 17:57:53 -07:00
JB bacf1b2f9e feat: Enhance chapter preselection logic and add scoring for supplemental titles 2025-10-07 15:29:33 -07:00
JB 6181f12bd4 Refactor code to remove legacy UI, transitioning to a straight webapp 2025-10-07 15:04:28 -07:00
JB da56966247 feat: Refactor supplemental section detection and enhance auto-selection logic in HandlerDialog 2025-10-07 14:51:21 -07:00
JB 783dbcf8f2 feat: Add supplemental section detection for improved content selection in HandlerDialog 2025-10-07 14:19:49 -07:00
JB b35ab7b002 feat: Implement dynamic state path determination and migration for queue state file 2025-10-07 13:49:53 -07:00
JB 4b3aa227b7 feat: Update metadata handling to include chapter count and normalize keys for ffmpeg arguments 2025-10-07 11:04:00 -07:00
JB 42334e92a4 feat: Add format specification for m4b, mp4, and m4a files in metadata embedding 2025-10-07 10:40:42 -07:00
JB a51fd25271 feat: Enhance chapter selection and metadata handling in conversion process 2025-10-07 10:23:42 -07:00
JB 02da72434b feat: Implement chapter embedding in m4b files using mutagen and update dependencies 2025-10-07 08:47:18 -07:00
JB 0dd74412d1 feat: Add chapter intro delay setting and implement in conversion process 2025-10-07 07:07:08 -07:00
JB ea1c7bd93e feat: Add ffmetadata rendering and writing functions with tests for chapter inclusion 2025-10-07 06:01:29 -07:00
JB 718a3fa1c0 feat: Enhance job management UI and add apostrophe normalization
- Updated styles for job cards to include a paused state and improved title styling.
- Modified job card template to display job status and progress more clearly, including pause/resume functionality.
- Introduced a new script for managing chapter row states in the prepare job form, allowing for dynamic enabling/disabling of inputs.
- Created a new template for preparing jobs, featuring a summary of metadata and chapter details.
- Added a comprehensive apostrophe normalization module to handle various cases of apostrophe usage in text.
2025-10-07 05:34:53 -07:00
JB 85310ad916 feat: Implement chapter overrides and metadata merging in conversion process
- Added `_coerce_truthy` function to handle truthy value coercion.
- Introduced `_apply_chapter_overrides` to apply chapter modifications based on provided overrides.
- Implemented `_merge_metadata` to combine extracted metadata with overrides, ensuring proper handling of None values.
- Updated `run_conversion_job` to utilize new chapter override and metadata merging functionalities.
- Modified `Job` class to store chapters as dictionaries for better flexibility.
- Enhanced `ConversionService` to normalize chapter input and metadata tags.
- Added comprehensive tests for chapter overrides and metadata merging to ensure functionality and correctness.
2025-10-06 18:05:12 -07:00
JB c8e9eb6fd2 feat: Update audio sink to manage ffmpeg cache by platform 2025-10-06 17:05:50 -07:00
JB 43bee0b76e feat: Enhance audio sink with internal ffmpeg cache directory management 2025-10-06 16:50:40 -07:00
JB fd8ede318f feat: Implement internal cache path management for improved resource handling 2025-10-06 16:34:01 -07:00
JB e76701ab32 feat: Add allow-direct-references setting to hatch metadata 2025-10-06 16:23:57 -07:00