AIMP Forum

AIMP for PC => Предложения / Suggestions => Редактор тегов / Tag editor => Topic started by: Xaymar on June 24, 2025, 00:33:56

Title: [Planned] Mass renaming with TagEditor and splitting Artist by forward slash?
Post by: Xaymar on June 24, 2025, 00:33:56
My template attempts to split artist names by a forward slash, which has become the common format for multiple artists. But no matter what I do, the following template never works:

%IFGreater(%StrPos(/,%Artist),0,%StrLeft(%Artist,%StrPos(/,%Artist)),%Artist) - %Title

It starts "working" if I use _ instead of /, but that breaks artists that actually use an _ in their name. Is there a way to disable TagEditor automatically replacing symbols that are invalid for file names prior to applying the template? I still want it to do that, but only _after_ the template has been processed.

Example:
A_V_A_C/Sear - Stone (Sear Bootleg)
-> A - Stone (Sear Bootleg) ❌ (this is what I get right now)
-> A_V_A_C - Stone (Sear Bootleg) ✅ (this is what I want)
Title: Re: Mass renaming with TagEditor and splitting Artist by forward slash?
Post by: Artem on June 24, 2025, 08:38:27
I think I should add the option for this case. By default, AIMP escapes tag fields to prevent unexpected dividing by folders.