Skip to content

v1.9.5#263

Merged
TiTidom-RC merged 3 commits into
betafrom
dev
May 27, 2026
Merged

v1.9.5#263
TiTidom-RC merged 3 commits into
betafrom
dev

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

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.py now 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 like repr(ttsText[:80]) or repr(_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:

  • Bumped the plugin version in plugin_info/info.json from 1.9.4 to 1.9.5.
  • Added "Echec" to the list of words in .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.

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.
@TiTidom-RC TiTidom-RC merged commit ab04168 into beta May 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant