Commit Graph

127 Commits

Author SHA1 Message Date
rany
cc7ac64909 Create dependabot.yml
Signed-off-by: rany2 <rany2@riseup.net>
2022-09-27 12:16:55 +03:00
rany2
197b176de9 Add requirements.txt and pin version 2022-09-27 12:16:22 +03:00
rany2
93f2e452ce lint 2022-07-27 20:17:42 +03:00
rany2
3a4595d6d6 Fix "ValueError: the metadata doesn't contain a Duration field"
* seems like microsoft updated their API to include this metadata type

Fixes #16
2022-07-27 20:15:17 +03:00
rany2
68a9e191d7 drop custom SSML support 2022-06-19 21:07:05 +03:00
rany2
797d04f182 Update edge-tts to version 4.0.11
* Add pylint check for lint.sh
* Change overlapping default from 5second to 1second for SubMaker and util.py
* Default to WordBoundary for edge-playback (from SentenceBoundary)
* Drop SentenceBoundary support (never works properly and too many hacks)
  - No longer actually supported by Azure's official SDK for a few years
    already
* Stop attempting to correct broken offsets sent back to us by Azure
  - Fixes never work properly because AI voice sometimes takes odd pauses
    at the start and sometimes doesn't do so. It's never predictable and
    cannot be fixed on the library's end.
  - Solution is for Microsoft to fix the integer overflow bug they are facing
    in the {Word,Sentence}Boundary offsets. It doesn't affect us until we reach
    30min long TTS anyway.
* Have edge-tts --list-voices use the configured HTTP proxy
* More misc changes and fixes
2022-05-29 18:17:48 +03:00
rany2
9a20f1ca90 update version to 4.0.10 2022-05-23 14:37:52 +03:00
rany
1f04a4b238 Merge pull request #11 from zhisenyang/master
add proxy
2022-05-23 14:37:01 +03:00
zhisenyang
863c545f9a add proxy 2022-04-24 16:58:01 +08:00
rany
393233ecf9 fix for windows users 2022-03-13 13:25:41 +02:00
rany
7d03764943 fix unbound local variable python error 2022-03-11 17:46:44 +02:00
rany
871f1938e6 remove subrip example, now standalone 2022-03-10 18:32:30 +02:00
rany
3f49b3ac90 fix typo w/ default voice name 2022-03-10 16:19:57 +02:00
rany
fd4b94554a make srt2mp3 more configurable 2022-03-10 15:59:05 +02:00
rany
9da1a87f30 only speed up, don't slow down 2022-03-10 15:49:34 +02:00
rany
843e6b4b38 check for ffprobe 2022-03-10 15:26:14 +02:00
rany
e08b94c6ac raise exception when retcode != 0 2022-03-10 15:23:16 +02:00
rany
c24183aab6 close files properly 2022-03-10 15:11:07 +02:00
rany
842352ddce improve example subrip to mp3 perf 2022-03-10 14:56:35 +02:00
rany
05e31e6f08 remove test srt 2022-03-10 12:44:06 +02:00
rany
06440fd89e strip trailing newlines 2022-03-10 12:43:26 +02:00
rany
c4c5e54015 add new subrip example 2022-03-10 12:37:23 +02:00
rany
de653064ee version bump to 4.0.7 2022-03-09 20:48:24 +02:00
rany
e135b7d6f9 Fix README for Windows users
See #6
2022-03-09 20:48:00 +02:00
rany
fa16583fc5 version bump to 4.0.6 2022-03-09 20:37:05 +02:00
rany
911e8a5083 Cleaner fix for #6 2022-03-09 20:36:09 +02:00
rany
b25cf501c2 Revert "Fix #6"
This reverts commit 9cfb9cc1e5.
2022-03-09 20:35:24 +02:00
rany
6c822e2df5 version bump to 4.0.5 2022-03-09 20:26:54 +02:00
rany
9cfb9cc1e5 Fix #6 2022-03-09 20:23:31 +02:00
rany
7e0ae74546 version bump to 4.0.4 2022-03-07 13:23:35 +02:00
rany
e2e3f26928 fix broken offset a bit, it is still bad 2022-03-04 20:48:50 +02:00
rany
8caf678f7a accurately limit to 79 chars 2022-03-01 22:12:12 +02:00
rany
1d8d56793d its already escaped by the service 2022-03-01 22:09:44 +02:00
rany
16d5dc273c fix sentence boundary 2022-03-01 21:42:01 +02:00
rany
43ee535752 Minor fixes to the README 2022-01-29 20:15:37 +02:00
rany
eb4c2a4400 Update README 2022-01-29 20:10:18 +02:00
rany
d5a31c955c Version bump to 4.0.1 2021-12-07 22:36:21 +02:00
rany
cbc6ca1b11 Fix bug with split_text_by_byte_length 2021-12-07 22:36:03 +02:00
rany
4fcecddaf0 Update to edge-tts 4.0.0 2021-12-07 22:09:43 +02:00
rany
756766fe6e Version bump to 3.0.2 2021-12-05 10:05:38 +02:00
rany
f6fa6f606b Remove characters the service does not support 2021-12-05 10:05:15 +02:00
rany
4b7f04dc4c Update to edge-tts 3.0.1 2021-12-04 00:57:45 +02:00
rany
6fbf875673 Actually fix 2021-07-11 17:17:03 +03:00
rany
5f02c6a5cc Fix subtitles accuracy after 1hour 2021-07-11 17:01:03 +03:00
rany
4647509791 Fix dependenices 2021-07-02 11:46:54 +03:00
rany
5322e7a9f0 Version bump 2021-06-18 02:31:38 +03:00
rany
9e876711c7 Fix bug 2021-06-18 02:31:27 +03:00
rany
66511837ab Switch to aiohttp 2021-06-18 02:29:43 +03:00
rany
a38cacce87 Add __main__ package 2021-06-17 22:10:54 +03:00
rany
a9d513ba56 Fix broken regular text 2021-06-10 20:55:40 +03:00