added %aritsts% for album template

This commit is contained in:
RemixDev 2022-05-28 15:43:40 +02:00
parent 8dffb3e385
commit c85283d867
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -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))