Commit Graph

211 Commits

Author SHA1 Message Date
rany2
a7db09ab0e Bump package version and make release 2023-04-30 23:56:54 +03:00
rany2
8f096598ab Update README.md 2023-04-30 23:56:35 +03:00
rany2
96fc3d52c7 Bump version and make new release 2023-04-30 23:49:21 +03:00
rany2
94603ab536 Update pylint parameters 2023-04-30 23:48:20 +03:00
rany2
6c55e815bb Provide warning before writing binary to stdout
* Writing binary data to terminal could cause unintended behavior
  and mess up a terminal. Print a warning before doing such a thing.
2023-04-30 23:41:12 +03:00
RaSan
4f70613c03
Fix Waiting before exiting in #78 (#79)
* Fix Waiting before exiting

The eventloop is not closed and waits a second on every call (idk the reason)

* Refactor

---------

Co-authored-by: rany2 <rany2@riseup.net>
2023-04-27 00:38:47 +03:00
rany
b6baafa177
Merge pull request #75 from maltoze/refactor-header-length
Refactor header length retrieval to utilize more appropriate method
2023-04-21 15:01:17 +03:00
rany2
6e733a306b Add some checks to ensure that it contains header length and drop struct 2023-04-21 14:22:51 +03:00
maltoze
bc781b2769 Refactor header length retrieval to utilize more appropriate method 2023-04-21 17:39:28 +08:00
rany2
1169574cce Add support for customizing number of words in cue 2023-04-05 17:00:29 +03:00
rany2
58307ded26 Update edge_tts to v6.1.3
* Sort voices in util's --list-voices
* Disable overlapping subtitles by default
* Try to fix subtitles for many hour long TTS generation
* Match Microsoft Edge connection behavior more
* Bump edge_tts version
2023-01-25 18:36:59 +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
c4f91377a4 Define version information in version.py 2023-01-09 21:17:25 +02:00
rany2
d95b5d339f Allow custom voice list to be passed to VoiceManager
* Useful so that the application could cache the list.
* Bump to version 6.1.x
2023-01-09 18:33:26 +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
d4da421ef6 Bump to version 6.0.8 2023-01-06 01:15:09 +02:00
rany2
62bc6a95c0 Fix errors in README 2023-01-06 01:12:21 +02:00
rany2
f598deebe0 Verify type of args passed to Communicate __init__ 2023-01-05 16:59:46 +02:00
rany2
bf78b76ac8 Bump version to 6.0.7 2023-01-05 08:02:20 +02:00
rany2
8a05a4f998 Merge all scripts for publishing into build_and_publish.sh 2023-01-05 07:59:43 +02:00
rany2
526c8ad9a2 Import GitHub's Python gitignore 2023-01-05 07:54:43 +02:00
rany
ab49f9c1db
Merge pull request #33 from rany2/improve-code-quality
Improve code quality
2023-01-05 07:53:07 +02:00
rany2
b68b27103f Resolve *almost* all pylint complaints and setup pylint 2023-01-05 07:52:51 +02:00
rany2
b5b7a42354 Slight cleanup of util code & misc changes 2023-01-05 07:52:51 +02:00
rany2
9355ef7c02 Add exceptions to __all__ 2023-01-05 06:29:57 +02:00
rany2
276d94221f Add py.typed for edge_tts
* Forgot it for edge_tts but not for edge_playback :/
2023-01-05 06:27:15 +02:00
rany2
df5ff0d9fc Bump to version 6.0.5 to add __version__ variable
* Should be useful for HASS and other projects
2023-01-05 03:23:32 +02:00
rany2
4111159873 Bump to version 6.0.4 2023-01-05 03:15:42 +02:00
rany2
2a52b979e0 lint 2023-01-05 03:14:04 +02:00
rany2
4862ec8517 Remove pitch option as it no longer has any effect
* Most likely Microsoft started ignoring it along with the custom SSML
  purge
2023-01-05 03:13:40 +02:00
rany2
01c87b7e1c Fix README and fix slight issue with validation for rate and volume
* Rate and volume could be greater than 100 and don't need to have
  a sign at the start.
2023-01-05 03:07:29 +02:00
rany2
66d3e61c1a Hide more items in edge_tts util's --list-voices 2023-01-05 02:58:59 +02:00
rany2
b92de4c18b Bump version to 6.0.3 2023-01-05 02:31:55 +02:00
rany2
a1bfe2a8fa Fix Python 3.7 support
* X | Y shorthand is not supported there
2023-01-05 02:31:25 +02:00
rany2
f4c0a1388f Fix bad update to edge-playback
and bump version to 6.0.2
2023-01-05 02:20:01 +02:00
rany2
a536f1bbce Bump version to 6.0.0 2023-01-05 02:08:02 +02:00
rany2
8570918ff1 Rename examples 2023-01-05 01:56:15 +02:00
rany2
018e8f56af Fix mypy paths to check
* for some reason this error doesn't happen locally
2023-01-05 01:51:54 +02:00
rany2
a1c5924024 Complete workflow fixing 2023-01-05 01:49:37 +02:00
rany2
2c00c63803 Fix mypy setup 2023-01-05 01:39:31 +02:00
rany2
e3c3bca93d Fix workflow 2023-01-05 01:36:13 +02:00
rany
2a8f90761f
Merge pull request #32 from rany2/moreexamples
Add more examples
2023-01-05 01:34:06 +02:00
rany2
28b4d55376 fix workflow 2023-01-05 01:33:52 +02:00
rany2
66e3092ff5 Update README 2023-01-05 01:32:45 +02:00
rany2
1012a08cf5 add examples/streaming_tts_with_subtitles.py 2023-01-05 01:31:45 +02:00
rany2
8a2f37d964 add streaming_tts.py example 2023-01-05 01:29:55 +02:00
rany2
39f0441aba Remove potentially out-of-date examples from README 2023-01-05 01:24:47 +02:00
rany2
6b7f9cc146 Fix README example URL 2023-01-05 01:24:47 +02:00
rany2
45ffe0cf48 Also run mypy on PRs 2023-01-05 01:18:31 +02:00
rany
b5b563274d
Merge pull request #31 from rany2/simplify
Simplify edge_tts library usage
2023-01-05 01:15:26 +02:00