Skip to content

✨ feat: 公开 TUI 实时频谱流 - #32

Merged
Nagi-ovo merged 2 commits into
masterfrom
feat/dsh-spectrum
Aug 31, 2026
Merged

Nagi-ovo merged 2 commits into
masterfrom
feat/dsh-spectrum

Conversation

@Nagi-ovo

Copy link
Copy Markdown
Member

说明

为外部 TUI 集成提供公开、只读、版本化的实时频谱流,同时修正 YesPlayMusic TUI 设置页的播放条宽度和状态串线。

  • 新增 ypm --json --tui spectrum --fps <1..20>,输出 v1 NDJSON(固定 32 个 u8 频段)
  • 只在存在订阅者时启用 FFT;慢消费者有容量、写入超时和 RAII 清理保护
  • 设置页与资料库/搜索/队列共用宽屏播放条宽度
  • 设置反馈改用页面私有状态,不再把全局“播放中 · flac”误显示在设置面板内
  • 补齐协议、生命周期、跨平台编译、布局和状态隔离回归

验证

  • Bun 1.3.12:439 PASS / 0 FAIL
  • renderer / sidecar / test 类型检查通过
  • Tauri renderer 构建通过
  • Rust workspace tests、all-features tests、clippy -D warnings、fmt 全部通过
  • TUI:491 PASS;频谱聚焦测试 30 PASS;设置聚焦测试 12 PASS
  • macOS arm64 release 二进制实机验证:实时 32-bin v1 帧、设置页无状态串线、播放条宽度一致

不包含版本号变更或 tag。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-08-31T14:22:09.714667Z 00f3063 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00f3063ab9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src-tauri/tui/src/app.rs
@Nagi-ovo
Nagi-ovo merged commit c479168 into master Aug 31, 2026
9 checks passed
@Nagi-ovo
Nagi-ovo deleted the feat/dsh-spectrum branch August 31, 2026 14:41
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.

1 participant