Skip to content

v3.1.9

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Jul 17:46
· 2 commits to main since this release

修复

  • 人声分离 / 本地 Whisper:修复当 Windows 用户名包含非 ASCII 字符(中文、日文、韩文)时,内置原生工具(BS-Roformer 人声分离、whisper.cpp、CTC 对齐、VAD)以「Failed to open file for writing」失败的问题。这些工具会在 %TEMP% 下创建自己的临时文件,而含中文用户名的路径会被破坏;MioSub 现在将子进程的临时目录指向 ASCII 安全的位置。
  • 设置:清洗 API 密钥输入——将密钥连同周围文本(备注、全角空格)一起粘贴时,不会再以「String contains non ISO-8859-1 code point」导致生成崩溃。
  • 设置:清洗并校验自定义 API 端点输入。多余的空格和结尾的 /v1 现在会被自动处理(后者是第三方中转翻译/润色失败的最大单一原因,会产生畸形的 /v1/v1beta/... 请求地址),端点格式非法时会显示行内提示。

Fixes

  • Vocal Separation / Local Whisper: Fix bundled native tools (BS-Roformer vocal separation, whisper.cpp, CTC aligner, VAD) failing with "Failed to open file for writing" for users whose Windows username contains non-ASCII characters (Chinese, Japanese, Korean). These tools create their own scratch files under %TEMP%, whose path was corrupted by the CJK username; MioSub now points the child process's temp directory to an ASCII-safe location.
  • Settings: Sanitize the API key inputs so a key pasted together with surrounding text (a note, a full-width space) no longer crashes generation with "String contains non ISO-8859-1 code point".
  • Settings: Sanitize and validate the custom API endpoint inputs. Stray whitespace and a trailing /v1 are now handled automatically (the latter was the single largest cause of translation/refinement failures on third-party proxies, producing a malformed /v1/v1beta/... request URL), and an invalid endpoint shows an inline warning.