#11 2025-03-28 19:02

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,472

Re: Problem with removing artist from "feat" in music files

The original regular expression from the other thread:

\A(\d+\s+-\s+)(.+?)(\s+-\s+.*\(feat\s.*?)\s*\2[,\s]*

The updated expression:

\A(\d+\s+-\s+)(.+?)(\s+-\s+.*\(feat\s.*?)\s*\2[/,\s]*

The replacement pattern is same:

$1$2$3

Now it can handle both the comma and the slash as the delimiter between artists in the "feat" section.

Example input:

02 - Marco Rovelli - Dromi fiore meu (feat Marco Rovelli, Paolo Monti)
02 - Marco Rovelli - Dromi fiore meu (feat Marco Rovelli/Paolo Monti)

Output:

02 - Marco Rovelli - Dromi fiore meu (feat Paolo Monti)
02 - Marco Rovelli - Dromi fiore meu (feat Paolo Monti)

Offline

#12 2025-03-29 10:57

Lauraq
Senior Member
Registered: 2016-10-02
Posts: 106

Re: Problem with removing artist from "feat" in music files

I don't know where I'm going wrong but it doesn't work for me sad
I created two identical flacs, one with the "," divider and one with "/"
You can see the result in the photo.

I would like the name produced to be

6 - Pamplona (feat Thegiornalisti)


https://postimg.cc/gallery/Y0NVqd0

I'm still having trouble moving the rules up and down

Last edited by Lauraq (2025-03-29 11:06)

Offline

Board footer

Powered by FluxBB