Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic TDCLI version checker and downloader / VOSK downloader #7

Open
cr08 opened this issue Aug 20, 2023 · 0 comments
Open

Automatic TDCLI version checker and downloader / VOSK downloader #7

cr08 opened this issue Aug 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request low priority Low priority bug fix/feature

Comments

@cr08
Copy link
Owner

cr08 commented Aug 20, 2023

An extra feature I am looking into adding is making the process automatic for downloading and maintaining the TDCLI and Vosk prerequisites.

Ideas:

  • Include a TDCLI version number in this repo. Seems they have made changes often enough that I need to account for so it may be worth just maintaining a target supported version. It'll be able to be changed in code if someone wants to 'roll their own'.

  • Check for an existing TDCLI download and check its version. If it doesn't exist or the version is incorrect, we can grab a corrected version.

  • Github has a json response listing available releases for a repo that we can use: https://api.github.com/repos/lay295/TwitchDownloader/releases/latest

  • Use some OS checking tools in python to verify OS type, 32 vs 64 bit, etc.. Use some fuzzy wildcard naming to grab the correct option and download link. Download and unzip in place.

  • Vosk download should be easy. Models don't appear to have changed in ages so for all intents we can just have a static download URL. Either at startup or when the SRT task rolls around, check if we need to use the SRT stuff and if so, do the same song and dance of checking the files in repo (may get fancy and hash the individual files and verify they all exist and re-download/unzip if not?) and download and unzip.

@cr08 cr08 added enhancement New feature or request low priority Low priority bug fix/feature labels Aug 20, 2023
@cr08 cr08 self-assigned this Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Low priority bug fix/feature
Projects
None yet
Development

No branches or pull requests

1 participant