Nagi-ovo/dsh-music-tui ↗★ 2

@dsh-tui-ecosystem/music

Control YesPlayMusic TUI from dsh-TUI with /music, artwork, seeking, and a live spectrum bar 适合使用TUI终端并希望在界面内控制音乐播放的用户。

パッケージ
@dsh-tui-ecosystem/music
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.2
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/31

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nagi-ovo/dsh-music-tui

ドキュメント

README 全文を読む ↗

配置

默认配置已经写进 cordis.patch.yml:

键默认值说明
executableypmCLI 名称或绝对路径
showStatustrue是否启用可由 /music 打开的音乐条;启动时仍保持隐藏
pollIntervalMs3000在线轮询间隔(1000 至 60000 ms)
timeoutMs3000单次 CLI 硬超时(250 至 30000 ms)
spectrumStylefollowoff / follow / blocks / led / braille / shade

showStatus: false 不会注册音乐条;此时 /music 与 /music show 退化为一次性 详情,status 与播放控制仍可用。宿主没有富视图能力,或富视图因键冲突/行预算 被拒绝时也采用相同降级,不启动后台轮询。

要覆盖配置,在 profile 自己的 cordis.patch.yml 里按同一行 id 写完整配置:

- id: dsh-music-tui
  config:
    executable: /absolute/path/to/ypm
    showStatus: true
    pollIntervalMs: 3000
    timeoutMs: 3000
    spectrumStyle: follow