|
|
@ -1128,6 +1128,7 @@ func rip(albumId string, token string, storefront string, userToken string) erro |
|
|
|
singerFolder := filepath.Join(config.AtmosSaveFolder, forbiddenNames.ReplaceAllString(singerFoldername, "_")) |
|
|
|
singerFolder := filepath.Join(config.AtmosSaveFolder, forbiddenNames.ReplaceAllString(singerFoldername, "_")) |
|
|
|
albumFolder := strings.NewReplacer( |
|
|
|
albumFolder := strings.NewReplacer( |
|
|
|
"{ReleaseDate}", meta.Data[0].Attributes.ReleaseDate, |
|
|
|
"{ReleaseDate}", meta.Data[0].Attributes.ReleaseDate, |
|
|
|
|
|
|
|
"{ReleaseYear}", meta.Data[0].Attributes.ReleaseDate[:4], |
|
|
|
"{ArtistName}", meta.Data[0].Attributes.ArtistName, |
|
|
|
"{ArtistName}", meta.Data[0].Attributes.ArtistName, |
|
|
|
"{AlbumName}", meta.Data[0].Attributes.Name, |
|
|
|
"{AlbumName}", meta.Data[0].Attributes.Name, |
|
|
|
"{UPC}", meta.Data[0].Attributes.Upc, |
|
|
|
"{UPC}", meta.Data[0].Attributes.Upc, |
|
|
|