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.
Title: Re: [Planned] Mass renaming with TagEditor and splitting Artist by forward slash?
Post by: Xaymar on October 16, 2025, 14:06:24
I ended up writing an ffmpeg based script to do the work for me, was faster overall than tag editor. The same set of files took 11 minutes with ffmpeg compared to 1h44m that tag editor takes. But thanks for considering it!
Title: Re: [Planned] Mass renaming with TagEditor and splitting Artist by forward slash?
Post by: Artem on October 16, 2025, 14:13:32
The same set of files took 11 minutes with ffmpeg compared to 1h44m that tag editor takes

How much files you've renamed? 2 hours its so unbelievable.
Title: Re: [Planned] Mass renaming with TagEditor and splitting Artist by forward slash?
Post by: Xaymar on October 16, 2025, 22:15:02
Windows stops counting at 98187 files, but I know there's more on the mapped network drive. I don't even want to mention the time it takes for tag editor to index everything before I can even apply the name change.