Substring rule bug?
Unregistered
|
 |
Posted: Nov. 27 2005,22:33 |
 |
Sorry it took so long to reply, but I finally found time to do some proper testing, to try to figure out what the glitch is.
I've found that the problem lies in that when using the context menus to perform an AutoTag and/or AutoRename on an MP3 file, the Substring Replacement feature does NOT work properly for me.
In fact, I've found that it behaves exactly as if the "%20 to space" rule has been hard-coded, in that none of the rules I add work and even when I remove the %20 rule it still functions (?).
The substring rules DO work when in MP3 Tag Studio, using the Browse/Edit tab screen with the continous casefix option enabled, though, but clearly if the %20 rule is working with the context menus, whether I specify it as a rule or not, there is either a serious bug in your code or my installation is seriously corrupted in some unknown way.
Here are the fairly simple steps I've done, so you can try to reproduce it on your end of things, to let me know if something is wrong on my end or in the code itself:
Take a MP3 file and rename to this:
10-band_name-this_is_%20the_title().mp3
Set the MP3/Tag Studio 3.5 Beta 16 settings as such: [Auto tag] Field separator sequence: - [X] Replace _ with (space) [X] Case fix and replace Substring replacements: _ (space) No Before No () (space) Yes Before No
Note: Above, the (space) means a single space character, not the actual string "(space)" of course. 
Now, in the context menus I have a definition I use: Retag assumed format <TrackNr>-<Artist>-<Title>
This results in these tags:
Title tag: This_is_ The_title() Artist tag: Band_name
First, notice that although I no longer have the default "%20 to space" substring replacement rule defined, it still works, thus the strange "hard-coded" behavior.
The underscore and parenthesis rules, however, do not work, nor any other rules I've added in my subsequent testing.
Now, just to prove that the substring replacement code isn't entirely crippled, if I edit the (empty) Album tag in MP3 Studio on the Browse/Edit tab screen, with the continuous case-fix option enabled, the fields instantly change to:
Title: This Is the Title Artist: Band Name
This is of course correct, but requires me to edit a single file at a time, thus making the context shell menu functionality less useful than it should be (was designed to be?)
Thank you for your time, T.T.
|