1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-06 14:52:50 +08:00

feat: 增加音量控制for -3thplay.html by socketio.emit (#404)

* Update config-example.json 增加大声,音量,继续的指令,用于3thplay

* 配合config-example.json的plugins

是 xiaomusic.py set_myvolum的中转
This commit is contained in:
wjcroom
2025-02-20 19:01:29 +08:00
committed by GitHub
parent bfa8cf2d07
commit 7c1b0c0eb1

5
plugins/setmyvolume.py Normal file
View File

@@ -0,0 +1,5 @@
async def setmyvolume(arg1):
global log, xiaomusic
log.info(f"code1:{arg1}")
did = xiaomusic._cur_did
await xiaomusic.set_myvolume(did, arg1)