Welcome Guest

Pages: 1
[Solved] Extract Remix Artist From Title
PowderPostOctober 17, 2013, 11:05
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topic[Solved] Extract Remix Artist From Title

I would like to extract the Remix artist from the title and write it to the ID3-tag »Remixer«.
For this I would something like regular expressions.

All String which are like that, should work:

Some Title (abc Remix)
Another Title (efg Remix)
Some Crazy Title (hij RMX)

Is this currently possible using Yate or do I have to use an external script?

2MR2PostOctober 17, 2013, 19:17
Avatar photo
Administrator
Posts: 2085
Registered:
August 23, 2012, 19:27
Normal topicRe: Extract String using Regular Expressions

Hi,

This should do it. It may be a little bit of overkill. If you want to remove the remix information from the title field you can use a Find function to remove everything from the last '('.

Image

PowderPostJuly 30, 2014, 01:51
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicRe: [Solved] Extract Remix Artist From Title

Totally forgot to answer here…
This works perfectly well! Thanks!

PowderPostJuly 30, 2014, 02:52
Pro
Posts: 116
Registered:
March 4, 2013, 18:53
Normal topicRe: [Solved] Extract Remix Artist From Title

Can you explain why the Grouped Execution is needed here?

2MR2PostJuly 30, 2014, 08:52
Avatar photo
Administrator
Posts: 2085
Registered:
August 23, 2012, 19:27
Normal topicRe: [Solved] Extract Remix Artist From Title

Without 'Force Grouped' the action will execute each statement for all files before going on to the next statement. That's really not what you want with the above action. You want it to perform the action on a file by file basis in its entirety. The first two Compare statements are ORed together to set a single result. If not grouped, everything after the Compares would only execute if all files ended with 'remix)' or all files ended with 'RMX)'. This might work, but if at least one track did not end with one of the two patterns, nothing would be done.

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.015 seconds.