aedocw / epub2tts

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

dont try to send an empty sentence to TTS #155

Closed aedocw closed 6 months ago

aedocw commented 6 months ago

If the list of sentences to speak has an empty item in it, TTS will crash when asked to speak that. This adds a check for length of sentence to speak, and skips if the length is 0.