File Renaming with track and disc info

I'm switching from another tag editor, but I'm a scripting novice and can't figure out how to rename files so that discs, total discs, tracks, and total tracks are separated by periods.
The goal is something that looks like this:

\Split - Nurse With Wound | Unveiled\Chance Meeting Of Nurse With Wound And Unveiled On Charlottenborg\01.01.01.03 - African Mosquito (Sub Mix).mp3

But the closest I can get is this:

\Split - Nurse With Wound Unveiled\Chance Meeting Of Nurse With Wound And Unveiled On Charlottenborg\0101.0103 - African Mosquito (Sub Mix).mp3

This is how far I've gotten:
\%albumartist%\%album%\%discnumber%.%track% - %title%

eta: Oh, and a way to truncate filenames over a certain length would also be helpful.

Try: \%albumartist%\%album%\$replace(%discnumber%,/,.).$replace(%track%,/,.) - %title%
`

1 Like

That did the trick, thank you!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.