by ZvezdanD » Sat Apr 11, 2009 1:48 am
I am not sure where to post this question. Maybe it should go to the "Need Help", but I think it is a bug.
After a question from one user of my script I observed the following thing. Let say that I have two kind of Titles which have column character - one with a space character after it (e.g. "Finale: Presto" or "Rondo: Allegro") and another without a space character (e.g. "12:08 AM"). In the first example I want to replace ": " with " - " (note added space character before dash) because it is ugly to get filename as "Finale- Presto" or "Rondo- Allegro". In the second example it should be "12-08 AM" without spaces around dash. This second example is already covered with the default FilenameMappings, but not the first. So, I added the line:
before the existing one:
I suppose the order of lines is important and the program executes replacement with the first line before the second. However, with my settings I get
and
(note one more space character after dash). The second example without spaces around column works correctly as before, i.e instead of 12:08 AM" I get "12-08 AM".
Well, if I type 3A20=202D instead of 3A20=202D20 everything works as needed, but in my opinion it is not logical nor correct way.
I am not sure where to post this question. Maybe it should go to the "Need Help", but I think it is a bug.
After a question from one user of my script I observed the following thing. Let say that I have two kind of Titles which have column character - one with a space character after it (e.g. "Finale: Presto" or "Rondo: Allegro") and another without a space character (e.g. "12:08 AM"). In the first example I want to replace ": " with " - " (note added space character before dash) because it is ugly to get filename as "Finale- Presto" or "Rondo- Allegro". In the second example it should be "12-08 AM" without spaces around dash. This second example is already covered with the default FilenameMappings, but not the first. So, I added the line:
[code]3A20=202D20[/code]
before the existing one:
[code]3A=2D[/code]
I suppose the order of lines is important and the program executes replacement with the first line before the second. However, with my settings I get [code]Finale - Presto[/code] and [code]Rondo - Allegro[/code] (note one more space character after dash). The second example without spaces around column works correctly as before, i.e instead of 12:08 AM" I get "12-08 AM".
Well, if I type 3A20=202D instead of 3A20=202D20 everything works as needed, but in my opinion it is not logical nor correct way.