#1 2011-06-22 17:34

ponytail bob
Member
Registered: 2009-09-22
Posts: 3

Moving Content Of Brackets In An MP3 Title

I would like to start by saying thank you for a wonderful program that has saved me from hours & hours (& more hours) of repetitious agony

This program is used by me primarily for MP3 & karaoke files. Thanks to this forum I can do almost anything with titles.
But, after 2 days of reading & re-reading this forum, WIKI & Google searches, & making repeated failed attempts at RegEx & Rearrange formulas, I find my self asking for help.

There are several hundred titles in similar random names, but structured the same as these examples:

Sway - Silver And Gold (Feat Akon)
Pitbull - Go Girl (Feat Trina And Young Boss)
Fat Joe - Make It Rain (Feat Lil Wayne)
Dj Khaled - She's Fine (Feat Sean Paul, Missy Elliot And Busta Rhymes)
Lil Jon And The East Side Boyz - Snap Yo Fingers (Feat Sean Paul)

I would like the output to be as follows:

Sway (Feat Akon) - Silver And Gold
Pitbull (Feat Trina And Young Boss) - Go Girl
Fat Joe (Feat Lil Wayne) - Make It Rain
Dj Khaled (Feat Sean Paul, Missy Elliot And Busta Rhymes) - She's Fine
Lil Jon And The East Side Boyz (Feat Sean Paul) - Snap Yo Fingers

I think it's probably a simple answer escaping a simple mind. Been reorganizing  a library of 50,000+ files for weeks & I'm brain dead.

Thanks for any & all help

Offline

#2 2011-06-22 18:03

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Moving Content Of Brackets In An MP3 Title

There are mainly 2 ways of doing it

1#. Rearrange Rule.
For this you need to download the latest beta version.

And you coud split by delimiters " - ", "(", ")", New pattern "$1 ($3) - $2" (skip extension)

2#. RegEx Rule
Replace expression "^(.*?) - (.*)(\(.*?\))$" with "$1 $3 - $2" (skip extension)

If all the names have that pattern that should do it without problem

(If you had problems try replace expression "^(.*?) - (.*)(\([^()]+\))([^()]*)$" with "$1 $3 - $2 $4" (skip extension))


Whatever you choose to use after that rule you'll probably be interested in:
CleanUp Rule: Fix spaces (skip extension)


Also there is some info about RegEx at the Wiki and the Forum, if you'd like to search for more.


If this software has helped you, consider getting your pro version. :)

Offline

#3 2011-06-22 19:41

ponytail bob
Member
Registered: 2009-09-22
Posts: 3

Re: Moving Content Of Brackets In An MP3 Title

These are the results:

In RegEx - #2 example 1, That works perfect

In RegEx - #2 example 2, That works perfect also

In Rearrange - I remove the quotes & use (within the bars, not using bars)| - , (, ),-| then, New pattern |$1 ($3) - $2| (skip extension).
I'm probably not doing this right, but, if that is correct, it doesn't work, no change in title, but it adds "()" to the end of the title (FYI). Tried with quotes also

My problem is solved with RegEx, but I would like  a better understanding Of Rearrange. Guess I'll Keep reading & trying

KUDO'S SaftyCar - You made my day
P.S. Thanks for the fast responce

Offline

#4 2011-06-22 20:08

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Moving Content Of Brackets In An MP3 Title

In rearrange rule the separators are | (vertical bar) so what should be written is " - |(|)".
Sorry for that. wink


If this software has helped you, consider getting your pro version. :)

Offline

Board footer

Powered by FluxBB