Commit Graph

144 Commits

Author SHA1 Message Date
Vuizur
0dc5154b06 Add shortcut to VoicesManager 2023-01-04 20:37:00 +01:00
Vuizur
6d2bc68933 Add voices manager to find voices 2023-01-04 20:31:57 +01:00
rany
4ecde0394d
Merge pull request #29 from Vuizur/replace-input-example
Replace input example
2023-01-04 21:16:10 +02:00
Vuizur
3bc7f728c3 Rename example file 2023-01-04 20:12:07 +01:00
Vuizur
31c33f9fa2 Replace example because of playsound bugs on Win 2023-01-04 20:10:29 +01:00
rany2
142b4f6457 Fix #23 2022-11-18 13:14:27 +02:00
rany
5a74ad6527
Update README.md 2022-10-18 20:11:20 +03:00
rany2
9c53e1eb3a Don't pin aiohttp so hass-edge-tts keeps functioning
* Bump to 5.0.6
* Require >=3.8.0
2022-09-27 13:22:29 +03:00
rany2
6819f46ca8 Bump edge-tts version to 5.0.5 2022-09-27 13:08:24 +03:00
rany2
a5a9a4c478 Add back GitHub dependabot/dependency graph support
* Hack from de16718b39/setup.py (L3-L17)
2022-09-27 13:05:27 +03:00
rany2
7b4827352d Switch back to setup.cfg only
* No depandabot support but it might work for hass-edge-tts at least
2022-09-27 12:58:14 +03:00
rany2
137bbd700e Fix ResolutionImpossible error in hass-edge-tts 2022-09-27 12:39:09 +03:00
rany
9dcbd27b1e
Merge pull request #19 from rany2/dependabot/pip/setuptools-65.4.0
Bump setuptools from 62.6.0 to 65.4.0
2022-09-27 12:19:43 +03:00
dependabot[bot]
31f14d5ffa
Bump setuptools from 62.6.0 to 65.4.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 62.6.0 to 65.4.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v62.6.0...v65.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 09:19:26 +00:00
rany
dc96e04e33
Merge pull request #18 from rany2/dependabot/pip/pip-22.2.2
Bump pip from 22.0.2 to 22.2.2
2022-09-27 12:18:52 +03:00
dependabot[bot]
6f73f349d5
Bump pip from 22.0.2 to 22.2.2
Bumps [pip](https://github.com/pypa/pip) from 22.0.2 to 22.2.2.
- [Release notes](https://github.com/pypa/pip/releases)
- [Changelog](https://github.com/pypa/pip/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/pip/compare/22.0.2...22.2.2)

---
updated-dependencies:
- dependency-name: pip
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 09:17:38 +00:00
rany
56c26c10b2 Create codeql-analysis.yml
Signed-off-by: rany2 <rany2@riseup.net>
2022-09-27 12:17:01 +03:00
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