generated from obsproject/obs-plugintemplate
-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update model-downloader.cpp to use obs_module_config_path f… (
#134) * refactor: Update model-downloader.cpp to use obs_module_config_path for retrieving the config folder path - Replace the usage of obs_module_get_config_path with obs_module_config_path to retrieve the config folder path in model-downloader.cpp - Add a check for a null config_folder and log an info message if it is null - Convert the config_folder string to a wstring on Windows using MultiByteToWideChar - Update the log messages to provide more descriptive information about the config models folder and the model folder existence in the config folder - Use the updated config_folder_str in the std::filesystem::absolute function call * Trigger Build * refactor: Update model-downloader.cpp to use obs_module_config_path for retrieving the config folder path * refactor: Fix bug in transcription filter callbacks - Add a condition to check for null timestamps before saving the sentence to srt in the send_sentence_to_file function - Remove unnecessary code in the set_text_callback function that checks for empty text after suppression - Update the whisper_loop function to clear the current subtitle if the minimum subtitle duration has passed
- Loading branch information
Showing
6 changed files
with
60 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters