SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Rename file from metadata: using escape characters

Greetings!

I want to rename file in a such way that artist is wrapped in round brackets:
Name (Artist).mp3

However when I specify the following:
%title% $if(%artist%,(%artist%))
in the File and Folder Correct preferences I get filename corrected, but without closing round bracket in the end.

I realize the reason for this, but don’t know how to achieve my goal.
Are there any escape characters that can be used in File and Folder Correct functions?

Actually your example works for me, but if you want ‘-’ seperators the following doesn’t work (maybe that is what you meant)

$if(%bestartist%,(%bestartist%)-)

but if you change it to

$if(%bestartist%,(%bestartist%))-

even though it looks incorrect it does work .

This is only a problem with round brackets if you were usng something else like square brackets the following would work

$if(%bestartist%,[%bestartist%]-)

There is no escape character, the renaming mask functionality is quite simple at the moment.

Its works for me, perhaps you have changed rename mask but not compilation mask and your files are compilations or vice versa, please recheck

Oops I edited AKazak messge by mistake instead of adding a new one, but this was indeed the issue.

Everything works fine with version 3.8.3 (Windows)!

I must have used old or Beta version.
Thank you for the discussion. Topic is closed.