getmusicbee.com

Support => Questions => Topic started by: Nokiaman on May 16, 2017, 12:38:12 PM

Title: Folder renaming
Post by: Nokiaman on May 16, 2017, 12:38:12 PM
I was trying to make my folder structure more consistent, but there's huge problem in MB that I can't solve. I have plenty of albums using : in their names so I wanted to replace them with - realizing that's lot more annoying that I thought.
Example:
Name: Naming becomes Name- Naming
which is just bad. I want it to be Name - Naming which is how it's usually done, but character replacer eats any character after the first one for reasons I don't get.
This is so frustrating and I can't find how to do this  :-X
Title: Re: Folder renaming
Post by: redwing on May 16, 2017, 01:39:23 PM
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.

$Replace(<Album>,:," - ")
Title: Re: Folder renaming
Post by: boroda on May 16, 2017, 05:39:36 PM
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.
because its illegal char in windows filenames
Title: Re: Folder renaming
Post by: redwing on May 16, 2017, 05:55:40 PM
because its illegal char in windows filenames

Right, I completely forgot the context of the question. I'm also using a similar formula to replace colons in album name in my template.
Title: Re: Folder renaming
Post by: Nokiaman on May 17, 2017, 07:26:43 AM
Not sure why you want to replace colon, but the following formula will do instead of using character mapping.

$Replace(<Album>,:," - ")

OH MY GOD. Thank you so much! :)
Is there any place this is documented? I couldn't find anything.
Title: Re: Folder renaming
Post by: redwing on May 17, 2017, 07:31:55 AM
Of course, have a look:

http://musicbee.wikia.com/wiki/How_to_Create_a_File-Naming_Template

also search "function" in the wiki.
Title: Re: Folder renaming
Post by: Nokiaman on May 17, 2017, 07:52:21 AM
Of course, have a look:

http://musicbee.wikia.com/wiki/How_to_Create_a_File-Naming_Template

also search "function" in the wiki.

Thank ye