1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-15 16:18:14 +08:00

feat:触屏版显示界面的歌曲id支持配置

This commit is contained in:
涵曦
2024-07-03 13:48:23 +00:00
parent 0414830539
commit e84ee5de1e
2 changed files with 4 additions and 2 deletions

View File

@@ -1039,8 +1039,8 @@ class XiaoMusic:
if _type == 1:
# If set to MUSIC, the light will be on
audio_type = "MUSIC"
audio_id = "1582971365183456177"
id = "355454500"
audio_id = self.config.use_music_audio_id
id = self.config.use_music_id
music = {
"payload": {
"audio_type": audio_type,