maybe, I'm just stupid. I'm trying to do the following:
Files are organized like this:
artist\date - album\album - tracknumber - title
or in case of multiple CDs:
artist\date - album\CD n\album - tracknumber - title
I know about discnumber tag, but since it's mostly not present in my files and my albums are named "album - CD n" in case of multiple CDs, I tried it with the following:
CODE
%artist%\%date% -
$if($stricmp($left($right(%album%,4),2),CD),
$caps2($left(%album%,$sub($len(%album%),7)))\$right(%album%,4),
$caps2(%album%))
\$caps2(%album%) - $num(%tracknumber%,2) - $caps2(%title%)
$if($stricmp($left($right(%album%,4),2),CD),
$caps2($left(%album%,$sub($len(%album%),7)))\$right(%album%,4),
$caps2(%album%))
\$caps2(%album%) - $num(%tracknumber%,2) - $caps2(%title%)
This is supposed to be used with Move/Rename files in masstagger.
When editing the new rule in masstagger, the preview line shown under the the editor field for the formatting string looks just like I'd expected. But when choosing the new rule to be applied to files I get a [SYNTAX ERROR IN FORMATTING STRING] right after "date -".
What am I doing wrong?
Why is the preview different from the actual application of the rule?
Anybody a idea?
I know, it'll surely be a typo or something alike, but after looking at the string for quite some time now, counting the braces forward and backward, I think, I'm just too blind to see.
Thanks in advance,
Andreas
EDIT: added line breaks into format string
put format string into code tag and reformatted for better readability
