Skip to content

v1.10.4#287

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

v1.10.4#287
TiTidom-RC merged 3 commits into
betafrom
dev

Conversation

@TiTidom-RC

Copy link
Copy Markdown
Owner

This pull request updates the TTS Cast plugin to version 1.10.4 and improves error handling and logging in the TTS generation process. The main changes focus on making error messages more explicit and ensuring that failures in generating TTS files are properly reported and handled.

Error handling and logging improvements:

  • Changed several logging.warning calls to logging.error in ttscastd.py to better reflect the severity of TTS file generation failures and HTTP errors. The log messages were also clarified for better debugging.
  • In both generateTestTTS and getTTS functions, added a return False statement when TTS file generation fails, ensuring that calling code is properly notified of the failure. The error messages were updated to specify that no audio file was generated. [1] [2]

Version update:

  • Updated the plugin version from 1.10.3 to 1.10.4 in plugin_info/info.json.

Upgrade JeedomTTS failure paths from warnings to errors in the daemon, including HTTP status failures and missing TTS files. Also make `TestTTS` and main `TTS` processing return `False` immediately when JeedomTTS output is invalid, so bad responses no longer continue as if successful.
Updates two error logs in `ttscastd.py` (`TestTTS` and `TTS`) to report that no audio file was generated, instead of the vaguer "incorrect output" message. This makes failure diagnostics more explicit when JeedomTTS returns no usable audio payload.
Updates plugin metadata to version 1.10.4 and adjusts Jeedom TTS daemon log messages to explicitly label Jeedom file paths/errors. This makes troubleshooting missing generated TTS files clearer in mixed TTS contexts.
@TiTidom-RC
TiTidom-RC merged commit 77675ad into beta Jun 27, 2026
1 check 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