aedocw / epub2tts

Turn an epub or text file into an audiobook
Apache License 2.0
433 stars 43 forks source link

Fixed detection of chapter breaks and section names #188

Closed aedocw closed 6 months ago

aedocw commented 6 months ago

Any "#" in a text file would trigger a chapter break, but that would not match expected chapters so an index out of range would be triggered. This fixes that, along with the "say parts" section so that it will properly say the chapter name.