BoxPlayer v5.0.15
新功能 / Features
- 新增匿名活跃统计:应用启动、网盘登录成功、网盘 API 请求失败三类事件会以匿名方式上报,用于统计日活、留存与版本分布。上报前会脱敏所有令牌、Cookie、密码与签名等敏感字段,不采集任何文件内容
- MPV 播放器(darwin/arm64)支持带鉴权请求头的播放源:代理服务器会重写 HLS 播放列表(.m3u8)与重定向地址,将分片请求统一路由回鉴权代理,修复带签名直链的网盘视频在 MPV 中无法正常播放的问题。
- 视频字幕自动加载扩展:字幕查找范围从当前目录扩展到所有一级子目录,同目录字幕仍然优先匹配,命中率更高。
修复 / Fixes
- 修复百度网盘新建文件夹报错:创建接口需要目标绝对路径而非文件 ID,现在会从目录列表解析出父目录完整路径后再创建。
- 修复百度网盘移动、复制文件时目标路径无法解析导致操作静默失败的问题,无法确定路径时明确报错提示刷新目录。
- 修复 PikPak 手机号登录验证码校验失败:登录请求统一使用
username字段提交,不再将手机号规范化为+86前缀格式,避免验证码签名不匹配。 - 修复 MPV 默认播放器切换音轨、外挂字幕时可能阻塞播放的问题(改为异步命令提交)。
工程 / Engineering
- 新增 PostHog 匿名分析接入:
POSTHOG_PROJECT_API_KEY、POSTHOG_HOST通过生成式密钥流程注入,CI 发布构建同步支持。 - 新增百度网盘文件命令、PikPak 登录、媒体代理重写等回归测试,并更新 Vitest 配置以覆盖分析模块。
- 更新 darwin/arm64 MPV 原生模块(mpv_texture.node)与 npm 依赖锁文件。
Features / English
- Anonymous usage analytics: app launches, successful provider logins, and cloud API request failures are reported anonymously for DAU, retention, and version-distribution stats. All tokens, cookies, passwords, and signatures are redacted before reporting; no file content is collected.
- MPV playback (darwin/arm64) now supports sources that require signed request headers: the proxy rewrites HLS playlists (.m3u8) and redirects so segments route back through the authenticated proxy.
- Subtitle auto-loading now searches the video folder plus all immediate subfolders, with same-directory subtitles still preferred.
Fixes / English
- Fixed Baidu Netdisk folder creation: the create API requires an absolute target path instead of a file ID; the parent path is now resolved from the directory listing.
- Fixed silent failures when moving/copying Baidu files because the target path could not be resolved; an explicit error now prompts a directory refresh.
- Fixed PikPak phone-number login captcha failures: the sign-in request always submits
username, avoiding phone normalization to a+86prefix that invalidated the captcha signature. - Fixed potential blocking when switching audio tracks or loading subtitles in the MPV default player (now submitted asynchronously).
Engineering / English
- Added PostHog anonymous analytics with
POSTHOG_PROJECT_API_KEY/POSTHOG_HOSTflowing through the generated-secrets pipeline, including CI release builds. - Added regression tests for Baidu file commands, PikPak login, and media-proxy rewriting; Vitest config now covers the analytics module.
- Updated the darwin/arm64 MPV native module (
mpv_texture.node) and the npm lockfile.