Commit Graph

7 Commits

Author SHA1 Message Date
Rany
4f5d79ed57 Drop words_in_cue code for SubMaker and switch to SRT (#323)
WebVTT isn't a very common format in the first place
and attempting to make WordBoundary play nice with
input text is very hard.

Instead we now just display the word that the TTS
is saying at a given time. In the future, we could
try to enable SentenceBoundary but there is a risk
that it will be banned by Microsoft as it is not used
by Microsoft Edge itself.

Closes: https://github.com/rany2/edge-tts/issues/118
Closes: https://github.com/rany2/edge-tts/issues/171
Closes: https://github.com/rany2/edge-tts/issues/229
Closes: https://github.com/rany2/edge-tts/issues/234

Signed-off-by: rany <rany2@riseup.net>
2024-11-22 20:58:47 +02:00
Rany
6bc3a9e20f Clean up code comments and docstrings (#318)
Signed-off-by: rany <rany2@riseup.net>
2024-11-22 18:28:43 +02:00
rany2
85eef7d918 Fix bug with edge-playback not removing temp files
* `tmp.close()` even with `delete=True` will cause `edge-playback` to
  not delete because the file will be recreated by `edge-tts`
* bump edge-tts version
2023-01-10 16:41:29 +02:00
rany2
bd9cc2bd2d Slight performance improvements and bug fixes
* also add new functionality for edge-playback to keep temp files
* and bump version to 6.0.9
2023-01-09 18:09:23 +02:00
rany2
b68b27103f Resolve *almost* all pylint complaints and setup pylint 2023-01-05 07:52:51 +02:00
rany2
c4c3dc5a13 add more typing 2023-01-05 00:56:15 +02:00
rany
4fcecddaf0 Update to edge-tts 4.0.0 2021-12-07 22:09:43 +02:00