Convert tag - filename to include mixartist field with formating

Hi all,

I use DISCOG to pull my tags, then use the Convert > Tag - Filename operation

%artist% - %album% (%year%)\$num(%track%,2). %artist% - %title%

which gives me a filename

DJ Khaled - Major Key (2016)\11. DJ Khaled - Don't Ever Play Yourself.flac

Though I'd like the featuring artist to be included in the filename

Discog link: https://www.discogs.com/DJ-Khaled-Major-Key/release/8849730

I can see these are copied into the MIXARTIST field as

Busta Rhymes (featuring); Fabolous (featuring); Fat Joe (featuring); Jadakiss (featuring); Kent Jones (featuring)

Is there any way to automate this so the filename instead looks like

DJ Khaled - Major Key (2016)\11. DJ Khaled - Don't Ever Play Yourself (feat Jadakiss, Fabolous, Fat Joe, Busta Rhymes & Kent Jones).flac

Thanks in advance!

you could add
(feat $replace(%mixartist%, (featuring),,;,','))

Awesome! that pretty much does what I needed - thank you!!

For the same example I now get

DJ Khaled - Don't Ever Play Yourself (feat. Busta Rhymes, Fabolous, Fat Joe, Jadakiss, Kent Jones).flac

I'm guessing in the same example I can't automate an & instead of a , for the last artist? example below

DJ Khaled - Don't Ever Play Yourself (feat. Busta Rhymes, Fabolous, Fat Joe, Jadakiss & Kent Jones).flac

Additionally for tracks that don't have featuring role, can it just not do nothing ?

Cheers,

try
$regexp($replace(%mixartist%, (featuring),,;,','),'(.*), (.*)',$1 & $2)
and when you set the whole extra bit in square brackets, it should become optional

You da man!

Thank you!

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