video += '<divclass="d-flex justify-content-between align-items-center">';
video += '<divclass="d-flex justify-content-between align-items-center">';
video += '<divclass="btn-group">';
video += '<divclass="btn-group">';
video += '<ahref="https://www.reddit.com/r/'+value.subreddit+'/comments/'+value.id+'/"class="btn btn-sm btn-outline-secondary"target="_blank">View</a>';
video += '<ahref="https://www.reddit.com/r/'+value.subreddit+'/comments/'+value.id+'/"class="btn btn-sm btn-outline-secondary"target="_blank">View</a>';
video += '<ahref="results/'+value.subreddit+'/'+value.filename+'" class="btn btn-sm btn-outline-secondary"download>Download</a>';
video += '<ahref="http://localhost:4000/results/'+value.subreddit+'/'+value.filename+'" class="btn btn-sm btn-outline-secondary"download>Download</a>';
video += '</div>';
video += '</div>';
video += '<divclass="btn-group">';
video += '<divclass="btn-group">';
video += '<buttontype="button"data-toggle="tooltip"id="copy"data-original-title="Copy to clipboard"class="btn btn-sm btn-outline-secondary"data-clipboard-text="'+getCopyData(value.subreddit, value.reddit_title, value.filename, value.background_credit)+'"><iclass="bi bi-card-text"></i></button>';
video += '<buttontype="button"data-toggle="tooltip"id="copy"data-original-title="Copy to clipboard"class="btn btn-sm btn-outline-secondary"data-clipboard-text="'+getCopyData(value.subreddit, value.reddit_title, value.filename, value.background_credit)+'"><iclass="bi bi-card-text"></i></button>';
@ -58,6 +58,8 @@ This can also be used to update the installation
(Note if you got an error installing or running the bot try first rerunning the command with a three after the name e.g. python3 or pip3)
(Note if you got an error installing or running the bot try first rerunning the command with a three after the name e.g. python3 or pip3)
If you want to read more detailed guide about the bot, please refer to the [documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/)
"### Thanks for using this tool! [Feel free to contribute to this project on GitHub!](https://lewismenelaws.com) If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue. You can find solutions to many common problems in the [Documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/)"
"### Thanks for using this tool! [Feel free to contribute to this project on GitHub!](https://lewismenelaws.com) If you have any questions, feel free to reach out to me on Twitter or submit a GitHub issue. You can find solutions to many common problems in the [Documentation](https://luka-hietala.gitbook.io/documentation-for-the-reddit-bot/)"
)
)
print_step(f"You are using v{__VERSION__} of the bot in the {__BRANCH__} branch.")
voice_choice={optional=false,default="",options=["streamlabspolly","tiktok","googletranslate","awspolly",],example="tiktok",explanation="The voice platform used for TTS generation. This can be left blank and you will be prompted to choose at runtime."}
voice_choice={optional=false,default="",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"}
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"}
streamlabs_polly_voice={optional=false,default="Matthew",example="Matthew",explanation="The voice used for Streamlabs Polly"}
tiktok_voice={optional=false,default="en_us_006",example="en_us_006",explanation="The voice used for TikTok TTS"}
tiktok_voice={optional=false,default="en_us_006",example="en_us_006",explanation="The voice used for TikTok TTS"}
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)"}
print_step(f"You are using the newest version ({__VERSION__}) of the bot")
returnTrue
else:
print_step(f"You are using an older version ({__VERSION__}) of the bot. Download the newest version ({latestversion}) from https://github.com/elebumm/RedditVideoMakerBot/releases/latest")