IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Repeating track numbers
JCSullivan
post Jun 7 2012, 16:33
Post #1


Member


Group: Full Members
Posts: 8
Joined: 7-June 12
From: Windsor, Canada eh!
Member No.: 16554
Mp3tag Version: 2.50



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.

This post has been edited by JCSullivan: Jun 10 2012, 10:13
Go to the top of the page
 
+Quote Post
DetlevD
post Jun 7 2012, 17:36
Post #2


Member


Group: Full Members
Posts: 4804
Joined: 26-May 06
From: Wuppertal, Germany, Planet Earth
Member No.: 3194
Mp3tag Version: 2.61d



QUOTE (JCSullivan @ Jun 7 2012, 17:33) *
... I would like to remove "CD##" and renumber all tracks sequentially ...

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

This post has been edited by DetlevD: Jun 7 2012, 17:45


--------------------
* Beyond that, don't ask, when you don't know what to do with the answer. *
♥ home is where the heart is ♥
Go to the top of the page
 
+Quote Post
stevehero
post Jun 7 2012, 17:40
Post #3


Member


Group: Full Members
Posts: 564
Joined: 3-December 10
From: Ireland
Member No.: 13334
Mp3tag Version: 2.59a



QUOTE (JCSullivan @ Jun 7 2012, 16:33) *
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....

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?


--------------------
▶✚♬ ═‎​ ♡
Go to the top of the page
 
+Quote Post
JCSullivan
post Jun 7 2012, 18:11
Post #4


Member


Group: Full Members
Posts: 8
Joined: 7-June 12
From: Windsor, Canada eh!
Member No.: 16554
Mp3tag Version: 2.50



Did a little more searching and found the answer

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


In this thread

here
Go to the top of the page
 
+Quote Post
JCSullivan
post Jun 7 2012, 18:12
Post #5


Member


Group: Full Members
Posts: 8
Joined: 7-June 12
From: Windsor, Canada eh!
Member No.: 16554
Mp3tag Version: 2.50



QUOTE (stevehero @ Jun 7 2012, 17:40) *
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?


Thanks, I'll be checking that one out as well.
Go to the top of the page
 
+Quote Post
JCSullivan
post Jun 7 2012, 18:14
Post #6


Member


Group: Full Members
Posts: 8
Joined: 7-June 12
From: Windsor, Canada eh!
Member No.: 16554
Mp3tag Version: 2.50



QUOTE (DetlevD @ Jun 7 2012, 17:36) *
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


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

This post has been edited by JCSullivan: Jun 17 2012, 06:32
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st July 2014 - 08:23