fix: dynamic music id type

This commit is contained in:
鲁树人 2024-01-28 03:59:17 +00:00
parent 1bbc707dcc
commit 4ad9a721f0

View File

@ -18,7 +18,7 @@ type ncmMeta interface {
type ncmMetaMusic struct {
Format string `json:"format"`
MusicID int `json:"musicId"`
MusicID interface{} `json:"musicId"` // 可能是 int (旧) 也可能是 string (新)
MusicName string `json:"musicName"`
Artist [][]interface{} `json:"artist"`
Album string `json:"album"`