» Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: HOWTO: xx/yy and replace strings< Next Oldest | Next Newest >
mll
Board Fan



Group: Members
Posts: 10
Joined: Oct. 2002
Posted: Nov. 07 2002,13:13

Hi all, I'd like to know hove to achieve 2 tasks (I'm pretty sure MP3TS can do it ;) ) :

1. I have an album whose tracks are 01 02 03...13, and I'd like to change them to 01/13 02/13 ... 13/13

2. I want to replace in every track name "Chorus" for "Chœur", so for instance "Avec la garde montante Chorus/Morales/Jose" gives "Avec la garde montante Chœur/Morales/Jose". Further : is there any way to get "Avec la garde montante (Chœur/Morales/Jose)" ?? Regexps smell, uh ?

Thanks in advance,

MLL
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Nov. 07 2002,19:16

Quote
1. I have an album whose tracks are 01 02 03...13, and I'd like to change them to 01/13 02/13 ... 13/13


Use the "Direct tag manipulation" tool with the following single transform (advanced mode):

Code Sample
<TrackNr>/13  ----->  <TrackNr>


Done.



Quote
2. I want to replace in every track name "Chorus" for "Ch&#339;ur", so for instance "Avec la garde montante Chorus/Morales/Jose" gives "Avec la garde montante Ch&#339;ur/Morales/Jose". Further : is there any way to get "Avec la garde montante (Ch&#339;ur/Morales/Jose)" ?? Regexps smell, uh ?


If you by "track name" mean file name, you can use the "Direct rename files" tool with the following templates (yes, it will take care of those parenthesis too :)):

Expected format:
Code Sample
<Custom1>Chorus<Custom2>.mp3


Output format:
Code Sample
<Custom1>(Chorus<Custom2>).mp3


And finally use the filter to make it only process files that contain the word "Chorus".

Note: That template is case sensitive, so if you also have files that contains "chorus" (small first letter) you must process them in a separate sweep, so set the filter to case-sensitive too.

If you meant not the filename, but the "title" field of the tag, simply use the "substring replacements" feature of the case-fix tool to do it, with a simple "<Title> ----> <Title>" transform in the "Direct tag manipulation" tool (won't fix the parenthesis though :ashamed:).

--------------
Software author and website owner
Back to top
Profile PM WEB 
1 replies since Nov. 07 2002,13:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]