feat: 支持客户端播放服务端音乐

This commit is contained in:
helloplhm-qwq
2024-02-04 11:51:52 +08:00
parent a8e4d8ac69
commit 339e5edf3d
4 changed files with 427 additions and 6 deletions

View File

@ -108,6 +108,11 @@ default = {
"mg": ["128k"],
}
},
"local_music": {
"desc": "服务器侧本地音乐相关配置,请确保你的带宽足够",
"audio_path": "./audio",
"temp_path": "./temp",
}
},
"security": {
"rate_limit": {
@ -153,7 +158,7 @@ default = {
"enable": True,
"length": 86400 * 7, # 七天
},
},
}
},
"module": {
"kg": {