Skip to content

Commit

Permalink
Update main_atmos.go
Browse files Browse the repository at this point in the history
  • Loading branch information
itouakirai authored Jun 28, 2024
1 parent 762d251 commit 3dd6bdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_atmos.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit 3dd6bdc

Please sign in to comment.