* 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>
background_thumbnail_font_color={optional=true,default="255,255,255",example="255,255,255",explanation="Font color in RGB format for the thumbnail text"}
[settings.tts]
voice_choice={optional=false,default="googletranslate",options=["streamlabspolly","tiktok","googletranslate","awspolly","pyttsx",],example="tiktok",explanation="The voice platform used for TTS generation. This can be left blank and you will be prompted to choose at runtime."}
aws_polly_voice={optional=true,default="Matthew",example="Matthew",explanation="The voice used for AWS Polly"}
streamlabs_polly_voice={optional=true,default="Matthew",example="Matthew",explanation="The voice used for Streamlabs Polly"}
tiktok_voice={optional=true,default="en_us_006",example="en_us_006",explanation="The voice used for TikTok TTS"}
python_voice={optional=true,default="1",example="1",explanation="The index of the system tts voices (can be downloaded externally, run ptt.py to find value, start from zero)"}
py_voice_num={optional=true,default="2",example="2",explanation="The number of system voices (2 are pre-installed in Windows)"}
voice_choice={optional=false,default="tiktok",options=["streamlabspolly","tiktok","googletranslate","awspolly","pyttsx",],example="tiktok",explanation="The voice platform used for TTS generation. This can be left blank and you will be prompted to choose at runtime."}
aws_polly_voice={optional=false,default="Matthew",example="Matthew",explanation="The voice used for AWS Polly"}
streamlabs_polly_voice={optional=false,default="Matthew",example="Matthew",explanation="The voice used for Streamlabs Polly"}
tiktok_voice={optional=true,default="en_us_001",example="en_us_006",explanation="The voice used for TikTok TTS"}
tiktok_sessionid={optional=true,example="c76bcc3a7625abcc27b508c7db457ff1",explanation="TikTok sessionid needed for the TTS API request. Check documentation if you don't know how to obtain it."}
python_voice={optional=false,default="1",example="1",explanation="The index of the system tts voices (can be downloaded externally, run ptt.py to find value, start from zero)"}
py_voice_num={optional=false,default="2",example="2",explanation="The number of system voices (2 are pre-installed in Windows)"}
silence_duration={optional=true,example="0.1",explanation="Time in seconds between TTS comments",default=0.3,type="float"}
no_emojis={optional=false,type="bool",default=false,example=false,options=[true,false,],explanation="Whether to remove emojis from the comments"}