nanihadesuka / NovelDokusha

Android web novel reader
GNU General Public License v3.0
239 stars 18 forks source link

Text to speech skipping to next chapter after ellipsis #145

Closed laslara closed 3 months ago

laslara commented 3 months ago

I have encountered this in several webnovels where the authors use ellipsis or sets of ellipsis, i.e. "...", or "... \n ... \n ..." etc, and the tts reader reads the paragraph following the ellipsis and skips to the next chapter after. Is there any way to update the logic of the tts reader to not do this or will this interfere with other sites/novels?

nanihadesuka commented 3 months ago

Can you give an example?

laslara commented 3 months ago

A regressor's tale of cultivation on 1stkissnovel. The author uses "...!" or similar often and it skips to the next chapter. You have to start from the beginning of the current chapter to replicate this issue, it does not skip to next chapter if you start the tts right before it.

Also, will it be possible for the tts to skip continuous chains of characters that some authors use as section breaks, e.g. "****" or "-----------" ?

nanihadesuka commented 3 months ago

As for the first issue: can't reproduce the issue where the skips happen. Using the novel you mentioned, tried the first 5 chapters.

As fore the second issue: I would prefer not adding special handling for "text" section break, as this can be every hard to know if it's meant as part of the novel or not. Will think about it, but for now, this check wont be done.

laslara commented 3 months ago

No worries and thanks for looking into this. The skips are random, sometimes they happen and sometimes they don't so I am not too sure how to reliably reproduce them.

nanihadesuka commented 3 months ago

Closing then