dsh-sidebar-media-player 0.2.0 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +5 -0
- package/icon.svg +5 -0
- package/lib/client.js +7375 -176
- package/lib/index.js +1503 -11
- package/lib/qq.js +1013 -0
- package/lib/qrc.js +409 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +14 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 状态说明:当前版本 bug 较多,正在重做中(2026-11-13)
|
|
4
|
+
|
|
5
|
+
- 0.2.x 阶段的播放、拖动 seek、频谱/音准读数仍有多处已知缺陷,功能与接口可能大幅变动。
|
|
6
|
+
- 本仓库保持公开以便反馈,但**不建议在关键任务上依赖**;重做完成后会以新版本号发布。
|
|
7
|
+
|
|
8
|
+
## 0.2.5 (2026-11-13)
|
|
9
|
+
|
|
10
|
+
- 状态标注:README、package.json description 与 locale/*.json 的 meta.description 明确写出「当前 0.2.x 版本 bug 较多,正在重做中」,避免用户误以为这是稳定版。
|
|
11
|
+
- 修正 lib/client.js 的 VERSION(此前一直停在 0.2.0,与 package.json 不一致)。
|
|
12
|
+
- 补 icon.svg + exports 的 ./icon 与 ./locale/*.json + files 收录,符合官方 dsh-doc 图标与 locale 规范。
|
|
13
|
+
- 功能代码未改动,已知缺陷仍在。
|
|
14
|
+
|
|
15
|
+
## 0.2.4 (2026-11-12) — 播放器页签行新增 ⟳ 检查更新
|
|
16
|
+
|
|
17
|
+
- 播放器面板页签行(本地库 / 系统配置 …)右侧新增 ⟳:查 npm 最新版 → 有新版变蓝「更新到 vX」→ 再点一键安装到 desktop profile。
|
|
18
|
+
- 复用技能浏览器的全局更新委托(window.__dshUpdClick)。
|
|
19
|
+
- 纯客户端改动:Ctrl+Shift+R 硬刷新生效。
|
|
20
|
+
|
|
21
|
+
## 0.2.3
|
|
22
|
+
- 修复「启动正常但侧边栏功能失效」:上一版用 setInterval 轮询后重入 apply,而 apply 已经在 fiber 激活完成后才调用,注册被静默吞掉。现改用 cordis 官方响应式注入 ctx.inject(["betterSidebar"], cb),服务就绪时自行执行注册。
|
|
23
|
+
|
|
24
|
+
## 0.2.2
|
|
25
|
+
- 启动稳定性:服务从 declared inject 移除(避免 pending 卡住 web boot),改为安全取值器 __safeSvc 加最多 30s 轮询。
|
|
26
|
+
|
|
27
|
+
## 0.2.1
|
|
28
|
+
- 修复启动崩溃:client half 把 `betterSidebar` 写成硬依赖 `inject = ["betterSidebar"]`,
|
|
29
|
+
better-sidebar 升级到 0.31.1 后宿主侧服务未就绪,client-module loader 让本 entry
|
|
30
|
+
永久停在 loading,整个 web boot 报「1 entry did not activate」→ renderer recovery
|
|
31
|
+
循环(2026-11-12 12:00 崩溃实录)。改为软依赖,服务不在时静默跳过,不再拖住启动。
|
|
32
|
+
|
|
3
33
|
所有值得注意的变更都会记录在此文件。
|
|
4
34
|
|
|
5
35
|
## 0.2.0 — 2026-11-10(改名版本)
|
package/README.md
CHANGED
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
**适配 DSH 内核 0.2.2-rc.1。**
|
|
6
6
|
|
|
7
|
+
> ⚠️ **当前状态:本版本(0.2.x)bug 较多,正在重做中。** 播放、进度条拖动、频谱等功能的稳定性尚不完整,建议先不要把关键任务依赖它;新版完成前功能与接口都可能有变动。
|
|
8
|
+
> ⚠️ **Status: the current 0.2.x build has a number of known bugs and is being reworked.** Playback, seeking and spectrum stability are not complete yet;
|
|
9
|
+
> avoid depending on it for critical work until the rework ships.
|
|
10
|
+
|
|
11
|
+
|
|
7
12
|
- 版本:0.2.0(首个正式发布版本)
|
|
8
13
|
- 依赖:`dsh-better-sidebar`(提供 `ctx.betterSidebar` 文件查看器注册服务)
|
|
9
14
|
|
package/icon.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36" width="36" height="36" role="img" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<rect x="4.5" y="6.5" width="27" height="23" rx="2.5"/>
|
|
3
|
+
<path d="M13.5 6.5v23"/>
|
|
4
|
+
<path d="M20.5 14l6.5 4.2-6.5 4.2z" fill="currentColor" stroke="none"/>
|
|
5
|
+
</svg>
|