Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main #3

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

main #3

wants to merge 12 commits into from

Conversation

The-Ducktor
Copy link
Owner

No description provided.

feat: Clear progress bar message before updating to avoid overlap

feat: Conditionally add metadata based on presence of opf_file

feat: Add function to check if FFmpeg is installed
feat: Update dependency version in Cargo.lock

feat: Add genre to metadata extraction

refactor: Remove unnecessary spacing in main.rs

feat: Add interactive input prompt for file paths
…e file, improve user input handling in interactive mode
… main.rs

Updated the user input function to improve code readability and created a helper
function for validating file paths in the interactive input logic.
Enhance the `read_chapter` function to read chapters with a 
customized TTS voice name and ensure the chapter title is 
properly formatted by removing any leading '#' characters. 
Update the version number in `Cargo.toml` from 0.3.4 to 0.3.7 
to reflect these changes. This improves the chapter output 
format and increases robustness in processing text data.
Add functionality to select a voice for text-to-speech during book 
generation. Update `make_book` function to accept a voice parameter 
and modify the `interactive_input` and `cli` functions to handle 
voice input. Update dependencies in `Cargo.lock` and `Cargo.toml` 
for compatibility. This enhances user experience by allowing 
customization of the voice used in audio generation.
Refactor the chapter title and content extraction logic in the 
`make` function. Replace the previous implementation with a 
more concise approach that utilizes iterators and filters to 
collect titles and contents. This change enhances code readability 
and maintainability while ensuring that only relevant chapters 
are processed based on filter criteria. Additionally, remove 
unnecessary variables and streamline the writing process to the 
output file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant