Hi Florian, I’ve found a bug in v2.81 when Converting Tag - Filename with the %discnumber% and %track% tags.
Bug is this: if the discnumber is “1/2” and track number “1/12” for example, the tags convert to “12” and “112” respectively. What they should convert to is just the part before the slash, i.e. “1” and “1” respectively.
Because the discnumber you have is 1/2 and the number of the track is 1/12 it would be a bug, if MP3Tag would only part of the content of this placeholder.
So it takes both, the part before and after the slash but without the slash because this character is not allowed in a windows-filename.
If you want the converter to take only the part before the slash you have to tell him so, for instance with a format-string like
$num(%track%,2) - %artist% - %title%
Just an amendment: you could see that MP3tag really only left out the illegal character when you enclose the format string in a $validate() function, e.g.
$validate(%track% - %artist% - %title%,_)
where the illegal characters get replaced by an underscore.
This would even take care of the artist “AC/DC”.
I personally would find it irritating and confusing if only for creating a filename Mp3Tag would treat especially the track-placeholder different from other placeholders or different from other treatments.
It also would not be possible to use the complete content of the placeholder anymore.
Therefore it would be nececcary to define a new placeholder get this stripped content directly and not the placeholder %track%.