Page 1 of 1

Illegal characters

Posted: Fri Dec 06, 2002 8:31 am
by Guest
Hi there,

I am just testing Songs-DB and I like it a lot. Thanks for the good work Jiri!

A feature I am missing or haven't found until now, is the possibility to eliminate illegal characters when auto creating file names from tags.

Is this already implemented or can it be included in one of the next versions?

Thanks,
Heinz

Posted: Sat Dec 07, 2002 6:14 am
by jiri
Actually Songs-DB can already do such a thing, but in a rather undocumented way. There is a section [FilenameMappings] in SongsDB.ini file, where a hexadecimal values define mappings between sequences of characters. For example E1=61 means that "▀" is mapped to "a". You can find hexadecimal values of characters for example in "Character map" included in Windows. If you want to edit SongsDB.ini manually, do not forget to close Songs-DB before your actions as it can modify the file during closing.

There will be more comfortable way of setting this added to Songs-DB in some of the future versions.

Jiri

Posted: Sat Dec 07, 2002 6:39 am
by Guest
jiri wrote:Actually Songs-DB can already do such a thing, but in a rather undocumented way. There is a section [FilenameMappings] in SongsDB.ini file, where a hexadecimal values define mappings between sequences of characters. For example E1=61 means that "▀" is mapped to "a". You can find hexadecimal values of characters for example in "Character map" included in Windows. If you want to edit SongsDB.ini manually, do not forget to close Songs-DB before your actions as it can modify the file during closing.

There will be more comfortable way of setting this added to Songs-DB in some of the future versions.

Jiri
Thank you, Jiri, that'll help...

Heinz

Having trouble getting this to work

Posted: Wed Jun 25, 2003 6:10 pm
by stutes
I tried this the other night (my character list is below), and I don't seem to be able to get this to work. I closed song-db, and made the changes, but the periods and the apostrophes still show up when I rename the files.

Andy

--------------

2A=2D
2E=
2F=2D
3A=2D
3B=2D
3C=2D
3E=2D
3F=
8A=53
8D=54
8E=5A
9A=73
9D=74
9E=7A
21=
22=
22=27
23=
26=6E
27=2D
40=
E1=61
E8=63
EF=64
E9=65
EC=65
ED=69
F2=6E
F3=6F
F8=72
FA=75
F9=75
FD=79
C1=41
C8=43
C9=45
CC=45
CD=49
D2=4E
D3=4F
D8=52
DA=55
DD=59

Posted: Thu Jun 26, 2003 2:53 pm
by jiri
Oops, you are right, the updated list isn't properly read to Songs-DB and so it doesn't work. I have fixed it and you can test it in the next beta release (in few days).

Thanks,
Jiri

Posted: Thu Jul 03, 2003 9:09 pm
by rusty
fixed in beta4.