mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
fix playlist animated artwork
This commit is contained in:
5
main.go
5
main.go
@@ -1392,8 +1392,9 @@ func rip(albumId string, token string, storefront string, userToken string) erro
|
|||||||
fmt.Println("Failed to write cover.")
|
fmt.Println("Failed to write cover.")
|
||||||
}
|
}
|
||||||
//get animated artwork
|
//get animated artwork
|
||||||
if config.SaveAnimatedArtwork && meta.Data[0].Attributes.EditorialVideo.MotionSquareVideo1x1.Video != "" {
|
if config.SaveAnimatedArtwork && meta.Data[0].Attributes.EditorialVideo.MotionDetailSquare.Video != "" {
|
||||||
motionvideoUrl, err := extractVideo(meta.Data[0].Attributes.EditorialVideo.MotionSquareVideo1x1.Video)
|
fmt.Println("Found Animation Artwork.")
|
||||||
|
motionvideoUrl, err := extractVideo(meta.Data[0].Attributes.EditorialVideo.MotionDetailSquare.Video)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("no motion video.\n", err)
|
fmt.Println("no motion video.\n", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user