SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Help with naming mullti CD collections

Hi,

I want to sort all my multiCD�s like this:
Artist/year album *CD extension/101. Artist - Song.ext

Heres an example from my archive with a 2CD album:
Takida/2012 A Lesson Learned the Best of 2CD FLAC/105. tAKiDA - Was It I.flac
Takida/2012 A Lesson Learned the Best of 2CD FLAC/202. tAKiDA - Was It I (Boxroom Version).flac

So it would be nice if song numbering always bagin at “101.” on first track on CD1 and “201.” on CD2 and so on, is this doable automatic?

In Preferences try creating a rename mask containing the following

ifnotempty(albumartist,'/')
+ ifnotempty(year,' ')
+ ifnotempty(album,' ')
+ ifnotempty(audioformat.toUpperCase(),'/')
+ ifnotempty(discno,'')
+ ifnotempty(pad(trackno,2),'. ')
+ ifnotempty(artist,' - ')
+ title

For the test data this gives

U2/1980 Boy WAV/102. U2 - Twilight.wav

For the test data this gives

U2/1980 Boy WAV/102. U2 - Twilight.wav[/quote]

Nice, It seems to do almost what i want. I still miss the CD count in album name, for example 2CD, 3CD and so on like in my example in the first post. Is that possible?

I didn’t quite understand that bit before, okay here you go

ifnotempty(albumartist,'/')
+ ifnotempty(year,' ')
+ ifnotempty(album,' ')
+ ifnotempty(disctotal,'CD ')
+ ifnotempty(audioformat.toUpperCase(),'/')
+ ifnotempty(discno,'')
+ ifnotempty(pad(trackno,2),'. ')
+ ifnotempty(artist,' - ')
+ title

Perhaps the syntax is slightly harder then some alternatives, but because you have access to full Javascript expressions plus access to all the metadata there is little you cannot do when it comes to rename masks.

Perhaps the syntax is slightly harder then some alternatives, but because you have access to full Javascript expressions plus access to all the metadata there is little you cannot do when it comes to rename masks.[/quote]

Thanks, that did exactly what I wanted :slight_smile:

Perhaps the syntax is slightly harder then some alternatives, but because you have access to full Javascript expressions plus access to all the metadata there is little you cannot do when it comes to rename masks.[/quote]

I would like to make the renaming a little smarter, lets say if “disctotal” is only 1 it would do a certain renaming or if it is 2 or higher another… Is that possible?

Yes, can do something like

if(disctotal==1)
{
 ifnotempty(albumartist,'/')
 + ifnotempty(year,' ')
 + ifnotempty(album,' ')
 + ifnotempty(audioformat.toUpperCase(),'/')
 + ifnotempty(discno,'')
 + ifnotempty(pad(trackno,2),'. ')
 + ifnotempty(artist,' - ')
 + title
}
else
{
 ifnotempty(albumartist,'/')
 + ifnotempty(year,' ')
 + ifnotempty(album,' ')
 + ifnotempty(disctotal,'CD ')
 + ifnotempty(audioformat.toUpperCase(),'/')
 + ifnotempty(discno,'')
 + ifnotempty(pad(trackno,2),'. ')
 + ifnotempty(artist,' - ')
 + title

}

Wow, great. SongKong is indeed very flexible and powerful. Thanks for the help, much appreciated.