We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b00a06 commit 4937ddbCopy full SHA for 4937ddb
2 files changed
publish/changeLog.md
@@ -1,3 +1,4 @@
1
### 修复
2
3
- 修复 kg 搜索结果显示问题(#2782)
4
+- 修复某些情况下开放 API 获取到的音量为0 的问题(#2790)
src/main/app.ts
@@ -257,6 +257,8 @@ export const listenerAppEvent = (startApp: () => void) => {
257
})
258
global.lx.event_app.on('app_inited', () => {
259
setProxy()
260
+ global.lx.event_app.player_status({ volume: Math.trunc(global.lx.appSetting['player.volume'] * 100) })
261
+ global.lx.event_app.player_status({ mute: global.lx.appSetting['player.isMute'] })
262
263
}
264
0 commit comments