I’m trying to create a tagger script which will check if the title contains any round brackets with text inside. I’m really not sure what format to use, for example:
$set(title, if no round brackets with any text or spaces inside are found, then add (This Exact Text) at the end of title)
I used actual text, could you help me write a proper tagger script? Thank you
I’m not sure I understand what you’re wanting to do. Can you perhaps provide a couple of examples of the original title and your desired final title (both when the routine is triggered and when it is not triggered). Thanks.
Say my song title tag is Dancing, I want to create a script which will transform the title into Dancing (Original Mix). However, if the title is Dancing (Dub), don’t add the (Original Mix) part since it already has a (Mix Type) description.
Basically I want all my song titles to contain a (Mix Type) description next to actual song title. This is standard for DJ libraries, Right now I manually add the missing (Original Mix) part into title tag and I would like to automate that with a tagger script.
@rdswift Bob I have a question, with your one line you check only if there is a ( bracket present and take no action. What would be the regex to match the open and closed bracket? I tried, but it would not match the (Some text) content:
For regular expressions, you need to use the $rsearch() function rather than the $in() function. Also, the regular expression that you show won’t match if there is a whitespace character between the parentheses.