Page 1 of 1

Reversing title-artist mp3 naming

PostPosted: Sat Jan 04, 2020 1:13 pm
by colmalk
Newbie here, love the facility. Tried to self-help and found Gabriel's solution from ten years back. When I try to apply it however, the bottom right 'Rename' remains greyed out (with 'trim' checked or unchecked) and yes, I did select 3 titles
Can anyone suggest what I have to do to make this work for me, TIA:
========================================
example of desired change

From:
Alabama-Tenessee Christmas.mp3
Chicago-25 Or 6 To 4.mp3

To:
Tenessee Christmas - Alabama.mp3
25 Or 6 To 4-Chicago.mp3
========================================
This is what you need:

1. Set RegEx (1) as:
MATCH: (.*?)-(.*)
REPLACE: \2 - \1

2. In the Remove (5) field, check "Trim" (that'll remove any spaces left at the beginning of the file name).

3. Use the preview to see if everything's OK, and then press "Rename".

One thing; if there's no space before/after the hyphen (e.g.: "Title-Artist") it will be added as a result of the renaming process (e.g.: "Artist - Title"), which may or may not be a problem for you. If that IS a problem, then you're gonna have to use two different RegExs.

Re: Reversing title-artist mp3 naming

PostPosted: Wed Jan 15, 2020 7:17 am
by bru
You might need to set:
RenamingOptions / Ignore / FileExtensions=unchecked

Re: Reversing title-artist mp3 naming

PostPosted: Wed Jan 15, 2020 2:10 pm
by therube
Is 1:RegEx actually enabled, encircled in red, its' 'R' box checkmarked?

You have NOT literally typed; MATCH or REPLACE in the boxes?