mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
correct AlbumArtist for playlist
This commit is contained in:
@@ -236,9 +236,47 @@ type TrackData struct {
|
||||
} `json:"attributes"`
|
||||
} `json:"data"`
|
||||
} `json:"artists"`
|
||||
Albums struct {
|
||||
Href string `json:"href"`
|
||||
Data []AlbumData `json:"data"`
|
||||
}
|
||||
} `json:"relationships"`
|
||||
}
|
||||
|
||||
type AlbumData struct {
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Href string `json:"href"`
|
||||
Attributes struct {
|
||||
ArtistName string `json:"artistName"`
|
||||
Artwork struct {
|
||||
Width int `json:"width"`
|
||||
Height int `json:"height"`
|
||||
URL string `json:"url"`
|
||||
BgColor string `json:"bgColor"`
|
||||
TextColor1 string `json:"textColor1"`
|
||||
TextColor2 string `json:"textColor2"`
|
||||
TextColor3 string `json:"textColor3"`
|
||||
TextColor4 string `json:"textColor4"`
|
||||
} `json:"artwork"`
|
||||
GenreNames []string `json:"genreNames"`
|
||||
IsCompilation bool `json:"isCompilation"`
|
||||
IsComplete bool `json:"isComplete"`
|
||||
IsMasteredForItunes bool `json:"isMasteredForItunes"`
|
||||
IsPrerelease bool `json:"isPrerelease"`
|
||||
IsSingle bool `json:"isSingle"`
|
||||
Name string `json:"name"`
|
||||
PlayParams struct {
|
||||
ID string `json:"id"`
|
||||
Kind string `json:"kind"`
|
||||
} `json:"playParams"`
|
||||
ReleaseDate string `json:"releaseDate"`
|
||||
TrackCount int `json:"trackCount"`
|
||||
Upc string `json:"upc"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
}
|
||||
|
||||
type AutoGenerated struct {
|
||||
Data []struct {
|
||||
ID string `json:"id"`
|
||||
@@ -374,6 +412,10 @@ type AutoGeneratedTrack struct {
|
||||
} `json:"attributes"`
|
||||
} `json:"data"`
|
||||
} `json:"artists"`
|
||||
Albums struct {
|
||||
Href string `json:"href"`
|
||||
Data []AlbumData `json:"data"`
|
||||
}
|
||||
} `json:"relationships"`
|
||||
} `json:"data"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user