[quote=solstice9]Hi im trying to rename my folder structures using Jaikoz instead of manually.what im after is …
Artist-Album
trackno(01)-tracktitle
Artist-Album
Cd01
trackno-title
[/quote]
I assumed you only wanted to show discno if it was from a multidisc album in which case I think the following will work for you:
function pad(number, length) {
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:'' ;
}
function ifmultidisc(value) {
if(disctotal>1)
{
return value;
}
else
{
return "";
}
}
ifnotempty2(albumartist,artist,' - ') + ifnotempty(album,' - ') + ifnotempty(ifmultidisc(pad(discno,2)),' ') + ifnotempty(pad(trackno,2),' - ') + title
Sorry, I don’t understand what you mean here, could you try reexplaining.
Use the tag browser to just list the songs you want to be part of one album, then use Action:Match to Release:Match to One Musicbrainz Release and then Jaikoz will attempt to match them as one release. If Jaikoz does not manage to do this but you have found the release in MusicBrainz you can use Action:Match to Release:Match to Specified MusicBrainz Release and tell Jaikoz the release to use.
There are similar tasks are available for matching to Discogs as well.