The max character is actually 200, not 300 per the [documentation](https://github.com/oscie57/tiktok-voice/wiki/Request-Parameters) `there is a server limit of 200 characters.`
This might be causing the 'error XXX.mp3 file not found' as the app splits based on max_char, and since this is 100 char over the limit the mp3 file never gets created.
* feat: tiktok sessionId can be specified in the config.toml
* feat: tiktok sessionId can be specified in the config.toml
* Various improvements and optimizations
* Add default argument
* Remove an used variable
* Code reformatted with black
* Fixed all problems pointed out by pylint
* Update TTS/TikTok.py
* Apply suggestions from code review
Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com>
* chore: add default value for tiktok_voice
Co-authored-by: Jose Collado <jose@collado.pw>
Co-authored-by: Simon <65854503+OpenSourceSimon@users.noreply.github.com>
Co-authored-by: Callum Leslie <github@cleslie.uk>
Co-authored-by: Callum Leslie <git@cleslie.uk>
* Bot can run multiple instances at the same time
* Delete TTS/__pycache__ directory
* Delete video_creation/__pycache__ directory
* Delete videos.json
* Delete utils/__pycache__ directory
* Create videos.json
* Moved id to utils
* Added cleanup in shutdown and fixed bug
* Removed watermark todo and fixed it
* Delete final_video.py
* Update final_video.py
* Delete video.py
* Update video.py
* Delete id.py
* feat: meaningful error message for bad credentials
* chore: remove comment reference to .env
Co-authored-by: Callum Leslie <git@cleslie.uk>
previously aws TTS did not read out comments correctly and only made weird sounds with super short mp3s. This fixes the problem and allows the full comment to be read.