aedocw / epub2tts

Turn an epub or text file into an audiobook
Apache License 2.0
532 stars 50 forks source link

Check output first #177

Closed aedocw closed 9 months ago

aedocw commented 9 months ago

This adds a check to see if intended output file exists BEFORE doing any real work. It gives the user the option to continue if the file exists (which then removes that file, preventing ffmpeg from waiting later on for user input). If the user chooses not to overwrite the file the script exits.