Merge pull request 'NCM: MusicID 动态类型支持' (#85) from fix/ncm-metadata-musicid into master

Reviewed-on: https://git.unlock-music.dev/um/cli/pulls/85
pull/95/head
鲁树人 11 months ago
commit 907fe4143b

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

Loading…
Cancel
Save