SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

IF function for creating filenames/folders

Question on the IF function. I’m sorry if this has been asked before, but the word “IF” is too short for searching the forum.

I want to tag a file with the Album Artist, if it is available, or the regular Artist if Album Artist is not. This would be the best default for me for the exceptions where I ‘miss’ properly tagging Album Artist.

Most applications have IF functions like this:

IF(Expression,Value if true,Value if false)

It appears in looking at the Jaikoz IF function that it only has a true result-- correct?

If so, I’m struggling to find a way to create the tag name I describe. In the off-chance that both Album Artist and Artist exist, the file would be tagged with both tags, not just one.

Am I missing some functionality or would this be a requested feature?

The bad news is that you are correct the IF() only has a true part at the moment, this is going to be replaced with more flexible scripting in the future.

But the good news is I introduced %bestartist% variable which does what you want anyway, if there is an album artist it uses that, if not it uses the track artist.

Silly me. I had assumed %bestartist% showed Album Artist only. Thanks for the clarification, Paul. That variable will fit my needs.