Repeating track numbers


#1

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.

Thanks

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.


#2

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.
$trimLeft(%_filename%,'CD0123456789')

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.

DD.20120607.1834.CEST


#3

Press Alt+6 then use the following.

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

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


#4

Did a little more searching and found the answer

$num(%_counter%,$len(%_total_files%))/$num(%_total_files%,$len(%_total_files%))

In this thread

here


#5

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


#6

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