v1.9.5#263
Merged
Merged
Conversation
Update translations
Add richer contextual information to TTS/GenAI logging and standardize formatting. Many logging calls in resources/ttscastd/ttscastd.py now include metadata such as language, voice, engine/model, chunk counts and a safe repr-truncated text excerpt (first 80 chars) to improve diagnostics; several f-strings were replaced with logging format args. Also normalize a couple of GroupVol error logs and add "Echec" to .vscode/settings.json. These changes improve debugging and traceability of TTS/GenAI failures without changing functional behavior.
Update plugin_info/info.json to increment the ttscast pluginVersion from 1.9.4 to 1.9.5. This change reflects a new plugin release and contains no other functional modifications.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request focuses on improving the clarity and usefulness of error and warning log messages throughout the TTS Cast daemon, especially in the TTS and AI generation flows. The changes add more context to log outputs, such as language, voice, engine, and excerpts of the text being processed, which will help with debugging and support. Additionally, there are minor updates to the plugin version and VSCode settings.
Enhanced logging and error reporting:
All TTS and AI-related error and warning log messages in
resources/ttscastd/ttscastd.pynow include extra context, such as language (ttsLang), voice name, engine/model, and a short excerpt of the text being processed. This is achieved by adding parameters likerepr(ttsText[:80])orrepr(_aiPrompt[:80])to the logs, making troubleshooting easier. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21]Improved error formatting in group volume helper functions, replacing f-strings with parameterized logging for consistency and better log parsing. [1] [2]
Other updates:
plugin_info/info.jsonfrom 1.9.4 to 1.9.5..vscode/settings.json(likely for spell checking or linting purposes).These changes should make it much easier to diagnose and resolve issues in production by providing richer context in logs, while also maintaining consistency across the codebase.