Repeating track numbers

First of all, THANKS for a nice piece of software which I've just this week discovered.

I've gone over a few pages of the previous threads but cannot find an answer specific to my situation so, if you don't mind I'll post a new one here.

I have a directory which contains several mp3 files from several CDs. The file name consists of CD##-xx.mp3 Where a CD01 will include Track 1 to x the next CD, CD02 will include the same track numbers. See image.

I would like to remove "CD##" and renumber all tracks sequentially - can somebody please help with this. Please keep it simple as I am just starting out.


Start edit
I found a solution which is further down. The key here was to renumber ALL the tracks sequentially. Then deal with the title tag. My Nomad Jukebox wouldn't accept the files in one directory.

If you really want to do it, then do it ...
... hm ...
what do you want to do with the remaining part of the filename e. g. "-16"?

A rather simple method would be ... to trim specific characters at the left side of the filename string.

This would left over the filename remainders "-16", "-17" and so forth.
This will immediately lead into bad circumstances, because of creating duplicate filenames.
And obviously you will do not know how to help yourself out of the plethora of error messages you will get.

What is the purpose of your plan?
Why do you want to destruct an already good looking sorting criterion?
All tracks seem to be organized very well, according to their base media.
Please explain.

Don't you know, filenames are "smoke and mirrors"?
Better you concentrate your work on the tag-fields meta data.
And at the very end of all work, you can rename the filenames.


Press Alt+6 then use the following.

Action type: Format value
Formatstring: $regexp(%_filename%,'^[^-]+-',)

You will end up with the _FILENAME going from 'CD01-16' to '16' Is this the result you want?

Did a little more searching and found the answer


In this thread


Thanks, I'll be checking that one out as well.

I needed to make the tracks sequential - I found a solution elsewhere but, this will ALL help when I need to rename the titles.