Paints the currently sung Netease CloudMusic line across the DSH workspace as a low-opacity watermark layer, with an Alt+L panel for color, opacity and the resulting contrast ratio. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from a prebuilt release tarball
dsh plugin --profile web add -w "https://github.com/shoutingyihui/dsh-client-ui-netease-lyrics-wallpaper/releases/latest/download/dsh-client-ui-netease-lyrics-wallpaper.tgz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:shoutingyihui/dsh-client-ui-netease-lyrics-wallpaper
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
把网易云音乐当前一句歌词铺在 DSH 工作区上,替代网易云自带的桌面浮窗。
安装
前提:dsh 在 PATH 上,pnpm 可用(dsh plugin 把安装参数转发给 pnpm 执行)。
从 GitHub 源码安装:
dsh plugin --profile desktop add github:shoutingyihui/dsh-client-ui-netease-lyrics-wallpaper
或用 Release 上的预构建 tarball:
dsh plugin --profile desktop add https://github.com/shoutingyihui/dsh-client-ui-netease-lyrics-wallpaper/releases/latest/download/dsh-client-ui-netease-lyrics-wallpaper.tgz
装完重启 dsh 宿主进程并刷新页面,在 设置 → 插件 里能看到「网易云歌词背景」。
升级重跑安装命令即可,latest/download 始终指向最新一版。卸载在 设置 → 插件 里关闭,或从 profile 移除 bundle。
前提
- 桌面版网易云音乐正在运行,并且已在 设置 → 常规 → 系统 打开 开启 SMTC(名称可能显示为“系统媒体控制”)。不开时 Windows 的
GlobalSystemMediaTransportControlsSessionManager根本不会出现网易云会话,宿主拿不到任何曲目数据。 - 网易云桌面版不上报播放进度;宿主用 SMTC 的标题、歌手、播放状态作锚点,再用宿主时钟推进当前句。
- 本插件是 Windows 专属:宿主用
powershell.exe读取 SMTC,用网易云公开的搜索和/lyric接口取 LRC。
调节颜色与对比度
两种入口,改的是同一份设置:
- 随时按 Alt + L,或点关闭按钮/背景关闭,打开快速调色面板。
- 也可以在 Harness 的 设置 → 歌词背景 里找到同一个面板。
面板提供:
- 跟随主题:深色主题使用 DSH token 混出的低饱和品牌红,浅色主题使用墨灰。
- 自定义颜色:原生取色器、十六进制值、四个快捷色。
- 显示强度:2%–35%,改动实时作用于歌词图层;有 8% / 14% / 22% / 30% 快捷档。
- 歌词 / 背景对比度:按当前主题背景、当前颜色和显示强度合成后计算并显示相对亮度比。
- 恢复默认:回到跟随主题 + 8%。
设置保存在当前浏览器(localStorage),刷新页面后保留;只影响歌词图层,不改 Harness 主题或正文颜色。
行为
- 界面侧只通过
/netease-lyrics宿主 RPC 读取数据;不会在浏览器里访问系统媒体 API。 - 当前句只在中间会话栏的水平范围内显示,字号为视口宽度的 8%,句子过长时等比缩小。
- 深色主题使用从 DSH 颜色 token 混出的低饱和红;浅色主题使用 DSH 的墨灰色。
- 句子之间 500 ms 交叉淡入淡出;只在图层内部改 opacity,不改变任何布局尺寸。
- 窗口宽度小于 900 px 时整层
display:none。 - 图层
pointer-events:none,不进入 tab 顺序,不接收焦点。 - 接口不可达、搜不到、LRC 为空时保留上一句并降到 3% 透明度;连续 3 分钟没有播放时整层淡出。
- 播放器没开时宿主不发起网易云请求。
- 切换歌曲后重新取 LRC;LRC 按 songId 缓存在宿主内存。
关闭
在 插件 页面关闭“网易云歌词背景”或从本 profile 移除 bundle 后,客户端图层、宿主 RPC 和 SMTC 子进程会一起卸载。
已知限制
- 网易云不上报 SMTC 进度,拖动进度条后宿主时钟会与客户端进度不一致;换歌或重开客户端可复位。
- DSH 的内容栏本身有不透明表面,因此歌词层是位于内容之上的 8% 水印层(仍低于
shell.overlay的弹层);它以pointer-events:none保证不挡交互。 - 没有可用的网易云 SMTC 会话时不会伪造曲目,也不会显示错误文字。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10669
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10669
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8366
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7489
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5362
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1070
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.