Hi. I'm a new user to MP3Tag and I'm trying to figure out how to rename my folders a certain way. I've created an action with the default value of "_DIRECTORY" and then trying to use a format string for the naming convention.
Basically what I want to do is have the folder name be "Year - Album [FLAC or Bitrate)
I want to do this so that if the file is FLAC, it obviously shows FLAC. But if it's an MP3, I want it to show the bitrate. So I'm assuming this is done using an IF function, but I can't get it right. I've played around with a bunch of variations (few below) but I keep getting errors and I'm obviously not a coder.
I based this off the $if(x,y,z) if x is true, y is returned, otherwise z
%year% - %album% $if(%_extension%=flac,%_extention,%_bitrate%)
%year% - %album% $if(%_extension%=flac,FLAC,%_bitrate%)
%year% - %album% $if($eql(%_extension% IS 'flac'),%_extention,%bitrate%)
%year% - %album% $if($eql(%_extension%, 'flac'),FLAC,%bitrate%)
I can get Year - Album [%_extention] to work perfectly, but I'm lost of the IF statement and can't get it work. Is this even possible? Any advise would be greatly appreciated.