Renaming file with %label% only if available

Hi all,

I am trying to rename my files to something very simple but i am struggling.

Basically i would like :

Artist - Title - Album (label)

EG : Coldplay - Yellow - Parachutes (Parlophone)

However, I only want the label and brackets to show up if the label data/tag exists.

So far i have got this far…

%artist% - %title% - %album%

My problem is I dont know how to add the $if for the label and the brackets…

Try adding $if(%label%,\(%label%\)) at the end of the file naming script. Note that you have to escape brackets with a backslash.

1 Like