Commit Graph

6 Commits

Author SHA1 Message Date
Rany
063957683c Improve type support a bit more (#333)
Also fix default voice for util.py

Signed-off-by: rany <rany2@riseup.net>
2024-11-23 19:59:39 +02:00
Rany
a3d468c7c9 Cleanup examples and fix VoicesManager types (#332)
Signed-off-by: rany <rany2@riseup.net>
2024-11-23 16:29:13 +02:00
Rany
d619925df2 Add support for custom aiohttp connector (#325)
This should allow users that need it to add support for SOCKS5
in their application via https://pypi.org/project/aiohttp-socks/.

Partially fixes: https://github.com/rany2/edge-tts/issues/147

Signed-off-by: rany <rany2@riseup.net>
2024-11-22 21:31:45 +02:00
Rany
3e4de19344 Use TypedDict for voice list and TTS stream (#320)
Signed-off-by: rany <rany2@riseup.net>
2024-11-22 20:04:52 +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
Rany
dc8ac2ea7a Add support for clock adjustment for Sec-MS-GEC token (#309)
This should help when a user might have his clock skewed by more than
5 minutes. The server allows for a bit more than ~5 minutes of skew.

Signed-off-by: rany <rany2@riseup.net>
2024-11-11 13:03:40 +02:00