Hi,
I upgraded today and all my settings were lost. I see that will be fixed, however I can’t get my folder renaming correct even though it shows correctly in the example mask.
I want
AlbumArtist/Album (Year)/
I get
AlbumArtistAlbum (Year)/
This is what I have, copied from another thread after searching
if (number == '') { return '';}
var str = '' + number;
while (str.length < length) {
str = '0' + str;
}
return str;
}
function ifnotempty(value,sep){
return value.length > 0 ? value + sep : '';
}
function ifnotempty2(value1,value2,sep){
return value1.length > 0 ? value1 + sep :value2.length > 0 ? value2 + sep:'' ;
}
ifnotempty2(albumartist,artist,'/')
+ ifnotempty(album,' ')
+ '(' + (year.length>4 ? year.substring(0,4):year) +')' + '/'
I’ve read many threads now and tried different things but I can’t get it right.
Any help would be appreciated.
Thanks