Double digits for ID3 tracknumber tag?

Hi,

Now I’m using the MBP Magic-Script - v0.4.2 and as far as I know the 3rd last line,
)$if(%tracknumber%,$if($gt(%totaldiscs%,1),$if($and($eq(%_useSubDiscFolder%,0),$eq(%_mergeDiscWhenNotUsingSubfolder%,1)),%discnumber%))$num(%tracknumber%,2). )

should take care of this but it does not, am I forgetting something or is the script wrong?

Because now I still have to use MP3tag to correct the tags: https://i.imgur.com/yUBgYM9.png

Thanks!

That script is a file naming script, right? It takes care of renaming your files, not about setting tags.

If you want to have double digit track numbers in the ID3 tags use a script in Options > Scripting:

$set(tracknumber,$num(%tracknumber%,2))
3 Likes

Thanks, it works!
Had no idea that script only was for file names only, I assumed that the tags would be filled in with the same variables as used in it.