ok, rewriting my scripts in order to separate Albums from Comilations from Single files according to the forum question your mention above but would like your confirmation that they’ll work as expected:
COMPILATIONS:
if(mbreleasetype.indexOf('Compilation')>-1)
{
"00 - Compilations"
+"/"
+ '' + (year.length>4 ? year.substring(0,4):year)
+"/"
+ ifnotempty(album,' ')
+"/"
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifnotempty(pad(trackno,2),' - ')
+ ifnotempty(artist,' - ')
+ title
}
else
{
'00 - Singles'
+ '/'
+ ifnotempty(artist,' - ')
+ ifnotempty(title,'')
+ '('
+ genre
+ ')'
}
ALBUMS:
{
'00 - Albums' + "/" +
ifnotempty2(albumartist,artist,'/')
+ '' + (year.length>4 ? year.substring(0,4):year) +" - "
+ ifnotempty(album,'')
+ ifnotempty(discsubtitle,'')
+ '/'
+ ifmultidisc('Disc ' + ifnotempty(pad(discno,2),'/'))
+ ifnotempty(pad(trackno,2),' - ')
+ ifnotempty(artist,' - ')
+ ifnotempty(title,'')
}
else
{
'00 - Singles'
+ '/'
+ ifnotempty(artist,' - ')
+ ifnotempty(title,'')
+ '('
+ genre
+ ')'
}
Will that work?