Filename to tag Help (Exclude Characters)

I want to transfer the filename to artist and title tag but i want to exclude the last characters (Key) & (Bpm) from the title.

Calvin Harris ft Sam Smith - Promises (CK intro) (Clean) 2A 123.mp3

Calvin Harris ft Sam Smith - Promises (Clean) 2A 123

What String should i use?

Several routes lead to Rome.
You could either simply import the whole string into title and then process the TITLE field
or
you use an action of the type "Guess value" instead of the convert function
Guess value
Source: $regexp('Calvin Harris ft Sam Smith - Promises (CK intro) (Clean) 2A 123',\d. \d+$,)
Pattern: %artist% - %title%

resp.
Source: $regexp(%_filename%,\d. \d+$,)
Pattern: %artist% - %title%

This is working except when there is the number 1 in front of the key, for example if the filename is this:

Bryce Vine - Drew Barrymore (Dennis Blaze Club Rework) (Intro) (Dirty) 10A 80

the result in the title is:

Drew Barrymore (Dennis Blaze Club Rework) (Intro) (Dirty) 1

also it would be nice to know how could i do the same thing if i was proccessing the title only.

Thanks for the help!

You could use instead of

Source: $regexp(%_filename%,\d+. \d+$,)
Pattern: %artist% - %title%

Instead of an action of the type "Guess value" use an action of the type "Format value" for TITLE
Format string: $regexp(%title%,\d+. \d+$,)

This one is working correctly!

Thanks for the support and the help!

Hi @ohrenkino

What should i do if i want to move the Bryce Vine - Drew Barrymore (Dennis Blaze Club Rework) (Intro) (Dirty) 10A 80 to the %grouping%

Is this the filename again?
What about the function Convert>Filename-Tag with
%dummy%) %dummy%) %dummy%) %grouping%

Yes we are talking about the filename.

The action above works only if the flename contains 3 parentheses but there are filenames without a parenthesis, one, two or more.

For example:
Fatman Scoop, Lil Jon, Jay-Z, DJ Unk, Yung Joc, Ying Yang Twins - Deville Loves The 2000's (Party Break Vol. 1) (Acapella Intro) (Beat Out) (Dirty) 4B 89

Then perhaps this helps in "Guess value":
Source: $regexp(%_filename%,'.* (\d+[A-Z].*)',$1)
Target: %grouping%

You are awesome!
This seems to be working perfectly!

Thank you!!! :clap: :clap: :clap:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.