Update main_atmos.go

pull/21/head
itouakirai 3 months ago committed by GitHub
parent 762d2518b1
commit 3dd6bdceea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      main_atmos.go

@ -1320,7 +1320,7 @@ func rip(albumId string, token string, storefront string, userToken string) erro
os.MkdirAll(sanAlbumFolder, os.ModePerm)
fmt.Println(albumFolder)
//get artist cover
if config.SaveArtistCover && meta.Data[0].Relationships.Artists.Data[0].Attributes.Artwork.Url != "" {
if config.SaveArtistCover && !(strings.Contains(albumId, "pl.")) {
err = writeCover(singerFolder, "folder", meta.Data[0].Relationships.Artists.Data[0].Attributes.Artwork.Url)
if err != nil {
fmt.Println("Failed to write artist cover.")

Loading…
Cancel
Save