From db38085d07ce75f8961eecdc1919e98748254c53 Mon Sep 17 00:00:00 2001 From: historia Date: Fri, 28 Aug 2026 14:57:48 -0400 Subject: refactor: overhaul config.py, remove cli default options --- app/backends/faster.py | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'app/backends/faster.py') diff --git a/app/backends/faster.py b/app/backends/faster.py index 285d865..2d0cad3 100755 --- a/app/backends/faster.py +++ b/app/backends/faster.py @@ -337,27 +337,19 @@ def _execute_steps(settings: dict) -> List[taskview.TaskStep]: if voices is None: return 1 - # Sync app/converter/config.py default voice. (The server port is - # not touched here: it lives in FASTER_API_URL, edited in the - # Settings screen.) - default_voice = next(iter(voices)) - if default_voice != config.FASTER_VOICE: - if common.update_config_value("FASTER_VOICE", default_voice): - print(f"[OK] Updated FASTER_VOICE to {default_voice}") - else: - print("[WARNING] Could not update FASTER_VOICE; edit " - "app/converter/config.py by hand") - + # (The server port is not touched here: it lives in + # FASTER_API_URL, edited in the Settings screen. Voices are picked + # per run with --voice / on the Generate-audiobooks screen.) _print_launch_hint(settings["output_path"]) return 0 steps.append(taskview.TaskStep( - "Write voices.json & sync config", write)) + "Write voices.json", write)) return steps def _execute(settings: dict) -> int: - """Console tail: install, clone, write voices.json, sync, advise.""" + """Console tail: install, clone, write voices.json, advise.""" return taskview.run_steps_inline(_execute_steps(settings)) -- cgit v1.2.3