@dsh-tui-ecosystem/music
Control YesPlayMusic TUI from dsh-TUI with /music commands and a compact now-playing bar
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nagi-ovo/dsh-music-tui说明文档
阅读完整 README ↗配置
默认配置已经写进 cordis.patch.yml:
| 键 | 默认值 | 说明 |
|---|---|---|
executable | ypm | CLI 名称或绝对路径 |
showStatus | true | 是否启用可由 /music 打开的音乐条;启动时仍保持隐藏 |
pollIntervalMs | 3000 | 在线轮询间隔(1000–60000 ms) |
timeoutMs | 3000 | 单次 CLI 硬超时(250–30000 ms) |
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