mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
fix MV GenreName
This commit is contained in:
3
main.go
3
main.go
@@ -1262,13 +1262,12 @@ func mvDownloader(adamID string, saveDir string, token string, storefront string
|
|||||||
audiokeyAndUrls, _ := runv3.Run(adamID, audiom3u8url, token, mediaUserToken, true)
|
audiokeyAndUrls, _ := runv3.Run(adamID, audiom3u8url, token, mediaUserToken, true)
|
||||||
_ = runv3.ExtMvData(audiokeyAndUrls, audPath)
|
_ = runv3.ExtMvData(audiokeyAndUrls, audPath)
|
||||||
|
|
||||||
|
|
||||||
//tags
|
//tags
|
||||||
tags := []string{
|
tags := []string{
|
||||||
"tool=",
|
"tool=",
|
||||||
fmt.Sprintf("artist=%s", MVInfo.Data[0].Attributes.ArtistName),
|
fmt.Sprintf("artist=%s", MVInfo.Data[0].Attributes.ArtistName),
|
||||||
fmt.Sprintf("title=%s", MVInfo.Data[0].Attributes.Name),
|
fmt.Sprintf("title=%s", MVInfo.Data[0].Attributes.Name),
|
||||||
fmt.Sprintf("genre=%s", MVInfo.Data[0].Attributes.GenreNames),
|
fmt.Sprintf("genre=%s", MVInfo.Data[0].Attributes.GenreNames[0]),
|
||||||
fmt.Sprintf("created=%s", MVInfo.Data[0].Attributes.ReleaseDate),
|
fmt.Sprintf("created=%s", MVInfo.Data[0].Attributes.ReleaseDate),
|
||||||
fmt.Sprintf("ISRC=%s", MVInfo.Data[0].Attributes.Isrc),
|
fmt.Sprintf("ISRC=%s", MVInfo.Data[0].Attributes.Isrc),
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user