Anki-TTS-Edge v2.3-2.6
v2.6 (2026-03-01)
✨ 改进 / Improvements
-
中性配色主题:浅色/深色模式均改为 Slate 蓝灰色系,无强烈色彩倾向,视觉中性专业,适合所有用户。
Neutral color theme: Both light/dark modes now use a Slate blue-grey palette with no strong color bias — clean, professional, and universally comfortable. -
设置即改即存:移除"保存设置"按钮,所有设置项修改后立即生效并自动保存,减少不必要的点击。
Instant settings save: Removed the "Save Settings" button. All setting changes now take effect and are saved immediately, eliminating unnecessary clicks. -
README 核心特性精简:核心特性小节不再堆积更新日志条目,仅保留软件功能的简洁描述。
README features cleanup: The Core Features section now contains only clean feature descriptions, not changelog entries.
v2.5 (2026-03-01)
✨ 新功能 / Features
-
用户数据统一管理:所有用户生成的文件(设置、历史、音频、日志、语音缓存)迁移至
%APPDATA%/Anki-TTS-Edge/,目录使用英文命名(audio/、logs/),全球通用。首次启动自动迁移旧数据。
Centralized user data: All user-generated files (settings, history, audio, logs, voice cache) moved to%APPDATA%/Anki-TTS-Edge/with English-named directories (audio/,logs/). Automatic one-time migration from old paths on first launch. -
深色/浅色主题重新设计:浅色模式采用暖色调 Teal 主色 + Stone 中性色,深色模式采用高对比 Teal-400 + Stone-900 背景,视觉更舒适自然。UI 控件全面使用语义化颜色 token(
primary、surface、primaryContainer),主题切换无色彩断裂。
Theme redesign: Light mode uses warm Teal-600 primary + Stone neutral surfaces; dark mode uses vibrant Teal-400 + Stone-900 backgrounds. All UI components now use semantic color tokens for seamless theme switching.
v2.4 (2026-03-01)
✨ 新功能 / Features
- 即点即读精确定位:点击文段中任意单词/字符时,直接从该位置开始播放,不再跳转到句首,定位更精确。
Precise click-to-play: Clicking any word/character in the text now starts playback from that exact position instead of jumping to the sentence start, providing more precise control.
📦 构建 / Build
- 构建方式切换为 onedir 模式:从 PyInstaller 单文件 (onefile) 切换为文件夹 (onedir) 模式,大幅提升 Windows 下的启动速度(消除杀毒软件扫描导致的延迟)。
Switch to onedir build: Changed from PyInstaller single-file (onefile) to folder (onedir) mode, significantly improving Windows startup speed by eliminating antivirus scan delays.
v2.3 (2026-03-01)
🔧 修复 / Fixes
-
修复 TTS 生成失败:升级
edge-tts至 7.2.7,修复微软 API 认证令牌过期导致的 403 错误,恢复所有语音的正常生成能力。
Fix TTS generation failure: Upgradededge-ttsto 7.2.7, resolving 403 errors caused by expired Microsoft API authentication tokens. All voices are now functional again. -
修复单词高亮跟随失效:适配
edge-tts7.x API 变更(boundary参数默认值从WordBoundary改为SentenceBoundary),显式传入boundary='WordBoundary'以恢复单词级时间戳和实时高亮。
Fix word-level highlight sync broken: Adapted toedge-tts7.x API change where theboundaryparameter default changed fromWordBoundarytoSentenceBoundary. Now explicitly passesboundary='WordBoundary'to restore word-level timestamps and real-time highlighting. -
修复重复函数定义 (
handle_generate_a):删除main.py中残留的重复函数定义。
Fix duplicate function definition (handle_generate_a): Removed leftover duplicate definition inmain.py. -
修复窗口事件双重绑定:移除旧 API 的事件绑定 (
page.on_window_event),仅保留新 API (page.window.on_event),避免窗口关闭/最小化事件被触发两次。
Fix double window event binding: Removed legacy API binding (page.on_window_event), keeping only the new API (page.window.on_event) to prevent duplicate event triggers on close/minimize. -
修复
MonitorManager.stop()缺失:添加stop()方法作为stop_monitors()的别名,修复应用重启时的AttributeError。
Fix missingMonitorManager.stop(): Addedstop()as an alias forstop_monitors(), fixingAttributeErroron app restart. -
修复卫星轮询中无效的
locals()检查:satellite_loop中的monitor_manager是闭包变量,locals()永远无法检测到它,已改用hasattr()检查。
Fix invalidlocals()check in satellite loop:monitor_manageris a closure variable, solocals()could never detect it. Replaced withhasattr().