Multiple Artists to Title (...\\...\\...) to (... ft. ..._...). But ignore "Various Artists"

Having read all but over a dozen topics about roughly the same issue (or the other way around), I just can't seem to discover an answer to my question.

I have only a few albums where this is necessary, but I would love to be able to have an action to:

  • Write my multiple artists to the song title.
  • Ignoring the "Various Artists" artist.
  • If there are more than 1 artists (more than Various Artists + 1) separated by "_"
  • Write the names inverted (so from Last Name, First Name to First Name Last Name) without the comma.

Example:

Album: A Trip To Brazil - 40 Years Of Bossa Nova
Title: Desfinado
Arist: Various Artists\\Getz, Stan\\Byrd, Charlie
Album Artist: Various Artists

Desired outcome:

Album: A Trip To Brazil - 40 Years Of Bossa Nova
Title: Desfinado ft. Stan Getz_Charlie Bird
Arist: Various Artists\\Getz, Stan\\Byrd, Charlie
Album Artist: Various Artists

Thanks a lot for any help on this!

I have used this forum for a great deal of help on my big cleaning project and am finally almost done after months of work, but this is the last hurdle.

Give this a try ...

TITLE <== 'Desfinado' ARTIST <== 'Various Artists\\\\Getz, Stan\\\\Byrd, Charlie' ... or ... ARTIST <== 'Getz, Stan\\\\Various Artists\\\\Byrd, Charlie' ... or ... ARTIST <== 'Getz, Stan\\\\Byrd, Charlie\\\\Various Artists' TEMP <== %TITLE%' ft. '$trim(
                     <!--coloro:#800080--><span style="color:#800080"><!--/coloro-->$regexp<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->(<!--colorc--></span><!--/colorc-->
                     <!--coloro:#800080--><span style="color:#800080"><!--/coloro-->$replace<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->(<!--colorc--></span><!--/colorc-->
                     <!--coloro:#800080--><span style="color:#800080"><!--/coloro-->$meta_sep<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->(<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->ARTIST<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->_<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->)<!--colorc--></span><!--/colorc-->
                     <!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->Various Artists<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->)<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->_<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc-->
                     <!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->_?(.+?), (.+?)_<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->_$2 $1<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->)<!--colorc--></span><!--/colorc-->
                     <!--coloro:#000000--><span style="color:#000000"><!--/coloro-->,<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->_<!--colorc--></span><!--/colorc--><!--coloro:#008080--><span style="color:#008080"><!--/coloro-->'<!--colorc--></span><!--/colorc--><!--coloro:#000000--><span style="color:#000000"><!--/coloro-->)<!--colorc--></span><!--/colorc-->
TEMP ==> 'Desfinado ft. Stan Getz_Charlie Byrd'

DD.20150724.2159.CEST

%TITLE% ft. $trim($regexp($replace($meta_sep(ARTIST,''),'Various Artists',)'','?(.+?), (.+?)','$2 $1'),'')

Worked perfectly! Thank you very...VERY MUCH!!!

1 Like