Skip to content

Commit 04da79f

Browse files
committed
Version 4.25.4
Fix TTS Audio Suite settings API deprecation warnings Technical details: - Replace deprecated settings defaultValue fields with default - Stop passing fallback values to getSettingValue on newer ComfyUI builds - Keep backend settings sync behavior unchanged while removing console warning spam
1 parent 460d091 commit 04da79f

5 files changed

Lines changed: 40 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.25.4] - 2026-04-08
9+
10+
### Added
11+
12+
- Keep inline edit tag and voice restoration settings working as before
13+
- Reduce noisy console spam from deprecated settings API usage
14+
15+
### Fixed
16+
17+
- Fix TTS Audio Suite settings deprecation warnings
18+
- Fix ComfyUI settings warnings shown in the browser console
819
## [4.25.3] - 2026-04-08
920

1021
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![Dynamic TOML Badge][version-shield]][version-url]
88
[![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge&logo=ko-fi&logoColor=white)](https://ko-fi.com/diogogo)
99

10-
# TTS Audio Suite v4.25.3
10+
# TTS Audio Suite v4.25.4
1111

1212
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/diogogo)
1313

nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
pass
1212

1313
# Version and constants
14-
VERSION = "4.25.3"
14+
VERSION = "4.25.4"
1515
IS_DEV = False # Set to False for release builds
1616
VERSION_DISPLAY = f"v{VERSION}" + (" (dev)" if IS_DEV else "")
1717
SEPARATOR = "=" * 70

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "tts_audio_suite"
33
description = "TTS Audio Suite - Universal multi-engine TTS extension for ComfyUI with unified architecture supporting IndexTTS-2, ChatterBox, Chatterbox Multilingual TTS (Official 23-Lang), F5-TTS, Higgs Audio 2, VibeVoice, and RVC engines. It has character voice management, SRT subtitle TTS support, and audio processing capabilities."
4-
version = "4.25.3"
4+
version = "4.25.4"
55
license = {file = "LICENSE"}
66

77
[project.urls]

web/tts_audio_suite_settings.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ const SETTING_SECTION_STEP_EDITX = "Step Audio EditX (Inline Tags)";
55
const SETTING_SECTION_RESTORE_VC = "Voice Restoration (<restore> Tags)";
66

77
// Shared function to send settings to backend
8-
async function sendSettingsToBackend() {
9-
try {
10-
const precision = app.ui.settings.getSettingValue("TTSAudioSuite.InlineEditTags.Precision", "auto");
11-
const device = app.ui.settings.getSettingValue("TTSAudioSuite.InlineEditTags.Device", "auto");
12-
const vcEngine = app.ui.settings.getSettingValue("TTSAudioSuite.RestoreTags.VCEngine", "chatterbox_23lang");
13-
const cosyvoiceVariant = app.ui.settings.getSettingValue("TTSAudioSuite.RestoreTags.CosyVoiceVariant", "RL");
8+
async function sendSettingsToBackend() {
9+
try {
10+
const precision = app.ui.settings.getSettingValue("TTSAudioSuite.InlineEditTags.Precision");
11+
const device = app.ui.settings.getSettingValue("TTSAudioSuite.InlineEditTags.Device");
12+
const vcEngine = app.ui.settings.getSettingValue("TTSAudioSuite.RestoreTags.VCEngine");
13+
const cosyvoiceVariant = app.ui.settings.getSettingValue("TTSAudioSuite.RestoreTags.CosyVoiceVariant");
1414

1515
console.log(`TTS Audio Suite: Sending settings to backend - precision=${precision}, device=${device}, vcEngine=${vcEngine}, cosyvoiceVariant=${cosyvoiceVariant}`);
1616

@@ -42,11 +42,11 @@ app.registerExtension({
4242
name: "TTS_Audio_Suite.Settings",
4343
settings: [
4444
{
45-
id: "TTSAudioSuite.InlineEditTags.Precision",
46-
name: "Model Precision for Inline Edit Tags",
47-
type: "combo",
48-
defaultValue: "auto",
49-
options: ["auto", "fp32", "fp16", "bf16", "int8", "int4"],
45+
id: "TTSAudioSuite.InlineEditTags.Precision",
46+
name: "Model Precision for Inline Edit Tags",
47+
type: "combo",
48+
default: "auto",
49+
options: ["auto", "fp32", "fp16", "bf16", "int8", "int4"],
5050
category: [SETTING_CATEGORY, SETTING_SECTION_STEP_EDITX, "Model Precision"],
5151
tooltip:
5252
"Torch dtype for Step Audio EditX model when using inline edit tags (<Laughter>, <style:whisper>, etc.).\n" +
@@ -55,11 +55,11 @@ app.registerExtension({
5555
"⚠️ IMPORTANT: Refresh browser (F5) after changing settings for them to take effect."
5656
},
5757
{
58-
id: "TTSAudioSuite.InlineEditTags.Device",
59-
name: "Device for Inline Edit Tags",
60-
type: "combo",
61-
defaultValue: "auto",
62-
options: ["auto", "cuda", "cpu", "xpu"],
58+
id: "TTSAudioSuite.InlineEditTags.Device",
59+
name: "Device for Inline Edit Tags",
60+
type: "combo",
61+
default: "auto",
62+
options: ["auto", "cuda", "cpu", "xpu"],
6363
category: [SETTING_CATEGORY, SETTING_SECTION_STEP_EDITX, "Device"],
6464
tooltip:
6565
"Device for Step Audio EditX model when using inline edit tags (<Laughter>, <style:whisper>, etc.).\n" +
@@ -68,11 +68,11 @@ app.registerExtension({
6868
"⚠️ IMPORTANT: Refresh browser (F5) after changing settings for them to take effect."
6969
},
7070
{
71-
id: "TTSAudioSuite.RestoreTags.VCEngine",
72-
name: "Voice Conversion Engine for <restore> Tags",
73-
type: "combo",
74-
defaultValue: "chatterbox_23lang",
75-
options: ["chatterbox_23lang", "chatterbox", "cosyvoice"],
71+
id: "TTSAudioSuite.RestoreTags.VCEngine",
72+
name: "Voice Conversion Engine for <restore> Tags",
73+
type: "combo",
74+
default: "chatterbox_23lang",
75+
options: ["chatterbox_23lang", "chatterbox", "cosyvoice"],
7676
category: [SETTING_CATEGORY, SETTING_SECTION_RESTORE_VC, "VC Engine"],
7777
tooltip:
7878
"Voice conversion engine used for <restore> tags in post-processing.\n" +
@@ -82,11 +82,11 @@ app.registerExtension({
8282
"⚠️ IMPORTANT: Refresh browser (F5) after changing settings for them to take effect."
8383
},
8484
{
85-
id: "TTSAudioSuite.RestoreTags.CosyVoiceVariant",
86-
name: "CosyVoice Model Variant for <restore> Tags",
87-
type: "combo",
88-
defaultValue: "RL",
89-
options: ["RL", "standard"],
85+
id: "TTSAudioSuite.RestoreTags.CosyVoiceVariant",
86+
name: "CosyVoice Model Variant for <restore> Tags",
87+
type: "combo",
88+
default: "RL",
89+
options: ["RL", "standard"],
9090
category: [SETTING_CATEGORY, SETTING_SECTION_RESTORE_VC, "CosyVoice Variant"],
9191
tooltip:
9292
"CosyVoice model variant to use for voice restoration (only applies when VC Engine is CosyVoice).\n" +

0 commit comments

Comments
 (0)