Dear All I am trying to set a folder renaming template to my taste.
I am using this setting as a template from “AlbumArtistorArtist/Album/DiscIfMultiDisc/Track - Title”
ifnotempty2(albumartist,artist,'/')
+ ifnotempty(album,'/')
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifmultidisc(ifnotempty(pad(discno,2),' - '))
+ ifnotempty(pad(trackno,2),' - ')
+ title
As default this template works very well for multi disc albums as below.
What I want to do is adding release year next to album name to obtain “AlbumArtistorArtist/Album (year)/DiscIfMultiDisc/Track - Title”
For this purpose I cloned the above template and add year line as below
ifnotempty2(albumartist,artist,'/')
+ ifnotempty(album,' ')
+ '(' + (albumyear.length>4 ? albumyear.substring(0,4):albumyear) +')/'
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifmultidisc(ifnotempty(pad(discno,2),' - '))
+ ifnotempty(pad(trackno,2),' - ')
+ title
But this caused a problem for the folder names and I got a result given below
In this settings it try to create a folder with same name for each disc in the album
Likewise I also need to generate similar template for the multi disc compilations. I will get similar issue as below for the “VA - Album(Year)/Track - Artist - Title” template. Same folder name for each disc.
"Va - "
+ ifnotempty(album,' ')
+ '(' + (albumyear.length>4 ? albumyear.substring(0,4):albumyear) +')/'
+ ifnotempty(pad(trackno,2),' - ')
+ ifnotempty(artist,' - ')
+ title
For this template multi disc section needs to be added
My ultimate goal is to obtain folder structure as Artist (VA (if compilation))/Album (year)/disc no (if multidisc)/track no - title
Any help will be appreciated.