mirror of
https://github.com/AynaLivePlayer/miaosic.git
synced 2025-12-17 10:18:21 +08:00
fix netease meta not set
This commit is contained in:
@@ -104,6 +104,7 @@ func (n *Netease) GetMediaInfo(meta miaosic.MetaData) (media miaosic.MediaInfo,
|
|||||||
media.Cover.Url = result.Songs[0].Al.PicUrl
|
media.Cover.Url = result.Songs[0].Al.PicUrl
|
||||||
media.Album = result.Songs[0].Al.Name
|
media.Album = result.Songs[0].Al.Name
|
||||||
media.Artist = _neteaseGetArtistNames(result.Songs[0])
|
media.Artist = _neteaseGetArtistNames(result.Songs[0])
|
||||||
|
media.Meta = meta
|
||||||
return media, nil
|
return media, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user