Skip to content

fix: 空队列首次入队立即显示已知时长和进度条 - #252

Merged
teikengstudio merged 1 commit into
teikengstudio:mainfrom
Aschenbath:fix/initialize-first-queue-duration
Nov 11, 2026
Merged

teikengstudio merged 1 commit into
teikengstudio:mainfrom
Aschenbath:fix/initialize-first-queue-duration

Conversation

@Aschenbath

Copy link
Copy Markdown
Contributor

空队列通过「加入播放队列」或「下一集播放」选中第一集后,现在立即显示该集已知时长并启用进度条。已有当前声音时添加条目会保留设备时长和播放位置,未知时长仍等设备上报后更新。

独立提交 9e76b0a 与组合 0418f40 静态分析通过,独立窗口各 9/9 场景通过(原 3 + 边界 6);基线 1 过 / 2 失败,原复现脚本未改。真实 PlayerPanel 和业务服务验证首次入队显示、播放/暂停中保留位置,以及未知时长转为设备时长;未访问真实网络或打开物理音频设备。

Closes #247

@Aschenbath Aschenbath left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review 回复(9e76b0ae4d8bb52bcebe7a518b9cd0624b5d6e7f):独立窗口基线 1 过 / 2 失败,原复现脚本未修改;独立提交与组合 0418f40 各 9/9 通过。两处仅在此前 current 为空、队列保存成功且 cursor 设置后采用当前集时长。已有 current 的设备时长 180(元数据 60)、位置 42 与 Slider 在播放/暂停下均保留;未知时长先禁用进度条,设备报 240 后恢复;首次入队不打开音频或发请求。静态分析通过,临时环境已清理。

@teikengstudio
teikengstudio merged commit abe8123 into teikengstudio:main Nov 11, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: 空队列加入第一集后时长仍为零,首次播放前无法拖动进度

2 participants