Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Masstagger: how to include space (Read 1183 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Masstagger: how to include space

how to take a space into account when renaming, the fact is that when I rename

$replace((%title%),Feat.,feat.

the second point is reached, I consider it a way to use a space, but the masteragger does not take it into account

$replace((%title%),Feat. ,feat. ,

I read this topic, it seems like a similar situation, but I did not find a solution, either surrounded by apostrophes

https://hydrogenaud.io/index.php?topic=56362.msg506262#msg506262

Re: Masstagger: how to include space

Reply #1
Wrap the entire parameter in single quotes / apostrophes. You have to wrap literal parentheses too.

$replace('('%title%')','Feat. ','feat. ')

Re: Masstagger: how to include space

Reply #2
Wrap the entire parameter in single quotes / apostrophes. You have to wrap literal parentheses too.

$replace('('%title%')','Feat. ','feat. ')

$replace($replace($replace($caps2(%title%), ,  ,'[','('), A , a , An , an , The , the , And , and , But , but , Or , or , Nor , nor , At , at , By , by , For , for , From , from , In , in , Into , into , Of , of , Off , off , On , on , Onto , onto , Out , out , Over , over , To , to , Unto , unto , Up , up , With , with , As , as , Feat,feat,Feat,feat.,ft.,feat.,ft,feat.,Featuring,feat.,Vs,vs,DJ,Dj,remix,Remix,–,-,—,-,hidden,Hidden,track,Track,remix,Remix,bonus,Bonus,part,Part,acoustic,Acoustic,version,Version),  , )

I apologize for the inaccurate question. I have this line, here surround apostrophes only commas near ','Feat. ','feat. ' so that another renaming does not break

Re: Masstagger: how to include space

Reply #3
Wrap the entire parameter in single quotes / apostrophes. You have to wrap literal parentheses too.

$replace('('%title%')','Feat. ','feat. ')

$replace('('%title%')','Feat. ','feat. ')

(Name (feat. Test))

this option brackets the whole name of the song, but I just wanted to change the capitalization

$replace((%title%),'Feat. ','feat. ') dont work, help

 

Re: Masstagger: how to include space

Reply #4
You can't use the parentheses in that parameter, they're special characters that need to be quoted. Using parentheses on the parameter will not make it selectively operate on the parentheses of the string. This requires more complex parsing than simple quoting can do.