JarodMica / audiobook_maker

GNU General Public License v3.0
322 stars 52 forks source link

Added delete button and move up/down arrows #80

Open EliseWindbloom opened 2 weeks ago

EliseWindbloom commented 2 weeks ago

Thank you for this amazing audiobook maker project and for sharing it with everyone. Also, apologies if this is the wrong place to put this, as i wasn't able to find the file in the repo and I am still a newbie to pull requests.

I've added a new delete button feature and up/down arrows to the Audiobook Maker GUI, via the audio_book_app.py file. Here are the new features:

-Press up arrow button to make the selected sentence move up one row, press down arrow button to make the selected sentence move down one row. -Press the "DEL" button next to the sentence to delete that sentence. -Press the "Show Delete" button to show/hide the "DEL" buttons to avoid accidentally deleting a sentence. -The wav filenames/json will be updated in the background accordingly based on what you click on.

2024-11-17 06_35_19-Audiobook Maker

I've downloaded your release here and edited the audio_book_app.py within it to create the new features: https://huggingface.co/Jmica/audiobook_maker/blob/main/audiobook_maker_v3.0.zip

You may want to edit it to your liking more, but this updated file (the attached audio_book_app.py.txt. Remove ".txt" from filename to use) should completely work as-is by just using it with the v3.0 package.

I was going to make a pull request but i can't seem to find audio_book_app.py in the repo, outside of the Releases section. Again, sorry if i'm doing this incorrectly and thank you for the amazing project.

audio_book_app.py.txt

JarodMica commented 1 week ago

Hey Elise,

Thanks for the contribution, this is an older version of the ABM which is why you aren't able to find the file. I'll add this as a possible enhancement to add later into the maker though!

EliseWindbloom commented 1 week ago

Nice, thanks for telling me and sounds cool. I just saw your new video update of Audiobook Maker, it's looking great! Wish you the best of luck.