I’m hoping to get some hints as to how to append a Subtitle string to the album title to form a Folder name. For example, if I have 2 versions of The Beatles Abbey Road, I’d like my folder structure to appear as follows:
Beatles, The
Abbey Road
Abbey Road [2009 Remaster] (where 2009 Remaster is in the Subtitle field)
This will help group tracks together and prevent the same tracks potentially being overwritten or duplicated, listed under the same Abbey Road subfolder.
Right now, I use the following mask:
if(value.startsWith("The ") || value.startsWith("A "))
{
value = albumartistsort
return value;
}
else
{
return value;
}
}
ifnotempty2(swapprefix(albumartist),"Various Artists",'/')
+ ifnotempty(album,'/')
+ ifmultidisc(ifnotempty(discno,'-'))
+ ifnotempty(pad(trackno,2),' ')
+ ifnotempty(artist,' - ')
+ title
What’s the best way to append the subtitle string (if it exists / is not empty) in square brackets to the album name part of the folder structure?
Many thanks.