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:
5
plugins/setmyvolume.py
Normal file
5
plugins/setmyvolume.py
Normal 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)
|
||||
Reference in New Issue
Block a user