mirror of
https://gitlab.com/RemixDev/deemix-js.git
synced 2025-01-29 17:18:27 +00:00
added %aritsts% for album template
This commit is contained in:
parent
8dffb3e385
commit
c85283d867
|
@ -182,6 +182,7 @@ function generateAlbumName(foldername, album, settings, playlist){
|
|||
}
|
||||
foldername = foldername.replaceAll("%album%", fixName(album.title, c))
|
||||
foldername = foldername.replaceAll("%artist%", fixName(album.mainArtist.name, c))
|
||||
foldername = foldername.replaceAll("%artists%", fixName(album.artists.join(", "), c))
|
||||
foldername = foldername.replaceAll("%artist_id%", album.mainArtist.id)
|
||||
if (album.rootArtist){
|
||||
foldername = foldername.replaceAll("%root_artist%", fixName(album.rootArtist.name, c))
|
||||
|
|
Loading…
Reference in a new issue