mediamonkey.ini FilenameMappings character help

Get answers about using MediaMonkey 4 for Windows.

Moderator: Gurus

trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

mediamonkey.ini FilenameMappings character help

Post by trinkner »

Hello,

I'd like to be able to use the name "Dvořák" in my artist and album artist tags, but then have Media Monkey use "Dvorak" as the album artist when creating the folders and filenames on my synchronized device (a 500 GB HDD that I use with a Squeezebox Touch).

I've read that I can use the mediamonkey.ini file's FilenameMappings section to map characters. The problem is that I can't figure out what is the hex value for the ř or á characters.

Would anybody be able to supply the hex equation value lines I should type into the FilenameMappings section of mediamonkey.ini?

Thanks!
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

To replace the ř character I've tried:

1. Close MediaMonkey.
2. Use Notepad to open MedialMonkey.ini and insert 159=72 in the FilenameMappings section.
3. Save the file.
4. Reopen the MedialMonkey.ini to ensure that the insertion has been saved. It has.
5. Close MedialMonkey.ini.
6. Start MediaMonkey.
7. Use Auto-organize to organize a Dvořák track.
8. Auto-organize suggests using the "Dvořák" folder, with the ř character still used!!!!!!
9. I close MediaMonkey.
10. Open the MedialMonkey.ini file and find that my insertion has disappeared!!! The MedialMonkey.ini file time stamp reflects the moment I closed MM.

It appears that MM ignores my changes to the .ini file and the overwrites the file when it closes.

Is there a problem with the 159=72 insertion that causes MM to ignore it and then rewrite the .ini file? Is there a bug with MM that causes it to overwrite any insertion to the .ini file? Is there another way I should remap characters for file names?

Thanks
Lowlander
Posts: 58632
Joined: Sat Sep 06, 2003 5:53 pm

Re: mediamonkey.ini FilenameMappings character help

Post by Lowlander »

What version of MediaMonkey are you using (Help > About). I believe there was a bug that caused this, but I don't know if it has been fixed.

Also make sure you check the Task Manager if MediaMonkey is running before editing MediaMonkey.ini.
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

Using version 3.2.4.1304 on Windows XP.
The .ini file is located at C:\Documents and Settings\myname\Local Settings\Application Data\MediaMonkey\MediaMonkey.ini

I used Task Manager to confirm that MM was not running before making the .ini edits. The problem persists: additions to the FilenameMapping section are ignored and the .ini file the overwrites itself without reflecting these changes when MM closes.

Thanks
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

Any suggestions here, forum?

The chief problem for me is the playlists. Media Monkey creates playlists on my device with incorrect filename pointers due to the ř character. If I could map the ř character to a standard Latin r character for filenames on my computer and also for filenames during synchronization, I think the playlists would on the device would function properly.
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

After a lot of web research, I've given up using the accented Unicode characters in my tags. Sigh. I had hoped that MediaMonkey's character mapping would do the trick, but apparently not.

The chief reason I need the character mapping is the limitation of .m3u playlists, which are limited to ASCII characters. When I use MM to sync to my portable hard drive, it creates playlists, but it replaces the non-ASCII characters with odd symbols. My Squeezebox Touch, in turn, naturally can't find the playlist tracks because the characters MM inserts into the .m3u file don't match the filenames on the hard drive.

If anybody in the MM development team is reading this, it would be great if what appears to be a bug in the handling of the Filename Mapping feature of the .ini file could be fixed.

Ideally, at sync it would:

1. Use the character mapping when creating folder and file names on the synced device.
2. Adjust the file location specifications inside .m3u files accordingly

thanks
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

MediaMonkey.ini file ignored and overwritten when MM closes

Post by trinkner »

When I edit the [FilenameMappings] list in mediamonkey.ini, MediaMonkey ignores the edit and then overwrites the .ini file when MM closes. The insertions no longer appear in the .ini file.

The situation arose because I want to use non-ASCII unicode-8 characters in my tag information. (This works fine.) I have configured the auto-organizer to use the Album Artist tag as a folder name for storing the track files. I want the resulting folder names to use only ASCII characters so that I can reference them in m3u playlist files, which only accept ASCII characters.

I've ensured that MM is closed when I make the edits. I've also ensured that the .ini file is not marked read-only.

To replace the ř character I've tried:

1. Close MediaMonkey.
2. Use Notepad to open MedialMonkey.ini and insert 159=72 in the FilenameMappings section.
3. Save the file.
4. Reopen the MedialMonkey.ini to ensure that the insertion has been saved. It has.
5. Close MedialMonkey.ini.
6. Start MediaMonkey.
7. Use Auto-organize to organize a Dvořák track.
8. Auto-organize suggests using the "Dvořák" folder, with the ř character still used!!!!!!
9. I close MediaMonkey.
10. Open the MedialMonkey.ini file and find that my insertion has disappeared!!! The MedialMonkey.ini file time stamp reflects the moment I closed MM.

It appears that MM ignores my changes to the .ini file and the overwrites the file when it closes.

Is there a problem with the 159=72 insertion that causes MM to ignore it and then rewrite the .ini file? Is there a bug with MM that causes it to overwrite any insertion to the .ini file? Is there another way I should remap characters for file names?

Thanks


Using MM version 3.2.4.1304 on Windows XP Professional, Version 2002, Service Pack 3.
The .ini file is located at C:\Documents and Settings\myname\Local Settings\Application Data\MediaMonkey\MediaMonkey.ini

I used Task Manager to confirm that MM was not running before making the .ini edits. The problem persists: additions to the FilenameMapping section are ignored and the .ini file the overwrites itself without reflecting these changes when MM closes.

Thanks
Lowlander
Posts: 58632
Joined: Sat Sep 06, 2003 5:53 pm

Re: mediamonkey.ini FilenameMappings character help

Post by Lowlander »

It might be an issue of not using Hex values, but I'm unable to find any information on that character, all I found were these: http://www.asciitable.com/
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

Lowlander wrote:Have you verified if FilenameMappings has two occurrences in MediaMonkey.ini?

Yes: only one section of [FilenameMappings] exists in the file.

Thanks
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

Lowlander wrote:It might be an issue of not using Hex values, but I'm unable to find any information on that character, all I found were these: http://www.asciitable.com/
Right: I can't find anywhere in MM a statement of which table of values to use. I used 159 for ř character because Windows Character Map application defines it as U+0159. The Windows Character Map app displays the same hex values that do appear in the FilenameMappings when MM overwrites the ini file.

The values in the FilenameMappings section like 3A and 2A are the values reported by Windows Character Map for the colon and asterisk characters, respectively. That is why I used 159 for the ř character.

I also tried using E1=61 to see if MM would work OK with a simple accented a, but had the same problem as above, so I don't think the problem is limited to the ř character.

I just tried repeating the exercise, adding only E1=61 to the top of the FilenameMapping section. When MM closed, there WAS an addition saved to the FilenameMapping section only it read just

=61

Apparently MM omitted the E1 start to the statement. So perhaps MM is reading the section somehow, but not correctly. Or the Unicode text table I'm using is wrong?

Thanks
Lowlander
Posts: 58632
Joined: Sat Sep 06, 2003 5:53 pm

Re: mediamonkey.ini FilenameMappings character help

Post by Lowlander »

Maybe ř is c5 99. You can try both the variant with space and without space and see if it works.

Using as reference: http://www.utf8-chartable.de/ (second page)
trinkner
Posts: 26
Joined: Sat Feb 12, 2011 10:02 am

Re: mediamonkey.ini FilenameMappings character help

Post by trinkner »

Lowlander wrote:Maybe ř is c5 99. You can try both the variant with space and without space and see if it works.

Using as reference: http://www.utf8-chartable.de/ (second page)
Holy cow! I think you've solved it!

The trick is to use the Hex values from the web site you quoted (not those reported from Windows Character Map app), AND you have to use them in all-capitals with no space separating the characters.

So, the Czech Dvořák can be converted to Dvorak by inserting the entries:

C599=72
C3A1=61

into the [FilenameMappings] section of mediamonkey.ini.

If you use any other sort of capitalization or hex values that apparently are not true hex values in the system used by MM, MM will read the .ini file and the write back odd characters into these entries.

Thank you very much, Lowlander, for your excellent advice and perseverance! It means a lot to me to keep my music character-correct, and you've helped me do it!

Thanks!
Eldorage
Posts: 23
Joined: Sat Jan 19, 2008 12:07 am

Re: mediamonkey.ini FilenameMappings character help

Post by Eldorage »

This should cover most of the Latin characters:

Code: Select all

C2A1=33
C380=41
C381=41
C382=41
C383=41
C384=41
C385=41
C386=41
C387=43
C388=45
C389=45
C38A=45
C38B=45
C38C=49
C38D=49
C38E=49
C38F=49
C390=44
C391=4E
C392=4F
C393=4F
C394=4F
C395=4F
C396=4F
C397=78
C398=4F
C399=55
C39A=55
C39B=55
C39C=55
C39D=59
C39E=50
C39F=53
C3A0=61
C3A1=61
C3A2=61
C3A3=61
C3A4=61
C3A5=61
C3A6=61
C3A7=63
C3A8=65
C3A9=65
C3AA=65
C3AB=65
C3AC=69
C3AD=69
C3AE=69
C3AF=69
C3B0=64
C3B1=6E
C3B2=6F
C3B3=6F
C3B4=6F
C3B5=6F
C3B6=6F
C3B8=6F
C3B9=75
C3BA=75
C3BB=75
C3BC=75
C3BD=79
C3BE=70
C3BF=79
C480=41
C481=61
C482=41
C483=61
C484=41
C485=61
C486=43
C487=63
C488=43
C489=63
C48A=43
C48B=63
C48C=43
C48D=63
C48E=44
C48F=64
C490=44
C491=64
C492=45
C493=65
C494=45
C495=65
C496=45
C497=65
C498=45
C499=65
C49A=45
C49B=65
C49C=47
C49D=67
C49E=47
C49F=67
C4A0=47
C4A1=67
C4A2=47
C4A3=67
C4A4=48
C4A5=68
C4A6=48
C4A7=68
C4A8=49
C4A9=69
C4AA=49
C4AB=69
C4AC=49
C4AD=69
C4AE=49
C4AF=69
C4B0=49
C4B1=69
C4B1=69
C4B2=49
C4B4=4A
C4B5=6A
C4B6=4B
C4B7=6B
C4B8=4B
C4B9=6B
C4BA=4B
C4BB=4C
C4BC=6C
C4BD=4C
C4BE=6C
C4BF=4C
C581=4C
C582=6C
C583=4E
C584=6E
C585=4E
C586=6E
C587=4E
C588=6E
C589=6E
C58A=4E
C58B=6E
C58C=4F
C58D=6F
C58E=4F
C58F=6F
C590=4F
C591=6F
C592=41
C593=61
C594=52
C595=72
C596=52
C597=72
C598=52
C599=72
C59A=53
C59B=73
C59C=53
C59D=73
C59E=53
C59F=73
C5A0=53
C5A1=73
C5A2=54
C5A3=74
C5A4=54
C5A5=74
C5A6=54
C5A7=74
C5A8=55
C5A9=75
C5AA=55
C5AB=75
C5AC=55
C5AD=75
C5AE=55
C5AF=75
C5B0=55
C5B1=75
C5B2=55
C5B3=75
C5B4=57
C5B5=65
C5B6=59
C5B7=79
C5B8=59
C5B9=5A
C5BA=7A
C5BB=5A
C5BC=7A
C5BD=5A
C5BE=7A
C5BF=73
C680=62
C681=42
C682=42
C683=62
C684=42
C685=62
C686=43
C687=43
C688=63
C689=44
C68A=44
C68B=44
C68C=64
C68D=64
C68E=45
C68F=65
C690=45
C691=46
C692=66
C693=47
C694=47
C695=68
C696=49
C697=49
C698=4B
C699=6B
C69A=6C
C69B=6C
C69C=4D
C69D=4E
C69E=6E
C69F=4F
C6A0=4F
C6A1=6F
C6A2=4F
C6A3=6F
C6A4=50
C6A5=70
C6A6=52
C6A7=53
C6A8=73
C6A9=53
C6AA=73
C6AB=74
C6AC=54
C6AD=74
C6AE=54
C6AF=55
C6B0=75
C6B1=55
C6B2=56
C6B3=59
C6B4=79
C6B5=5A
C6B6=7A
C6B7=33
C6B8=45
C6B9=45
C6BA=33
C6BB=32
C6BC=35
C6BD=35
C6BE=35
C6BF=70
C780=31
C781=32
C782=33
C783=PO
C784=44
C785=44
C786=64
C787=4C
C788=4C
C789=6C
C78A=4E
C78B=4E
C78C=6E
C78D=41
C78E=61
C78F=49
C790=69
C791=4F
C792=6F
C793=55
C794=75
C795=55
C796=75
C797=55
C798=75
C799=55
C79A=75
C79B=55
C79C=75
C79D=65
C79E=41
C79F=61
C7A0=41
C7A1=61
C7A2=41
C7A3=61
C7A4=47
C7A5=67
C7A6=47
C7A7=67
C7A8=4B
C7A9=6B
C7AA=4F
C7AB=6F
C7AC=4F
C7AD=6F
C7AE=33
C7AF=33
C7B0=6A
C7B1=44
C7B2=44
C7B3=64
C7B4=47
C7B5=67
C7B6=48
C7B7=56
C7B8=4E
C7B9=6E
C7BA=41
C7BB=61
C7BC=41
C7BD=61
C7BE=4F
C7BF=6F
C880=41
C881=61
C882=41
C883=61
C884=45
C885=65
C886=45
C887=65
C888=49
C889=69
C88A=49
C88B=69
C88C=4F
C88D=6F
C88E=4F
C88F=6F
C890=52
C891=72
C892=52
C893=72
C894=55
C895=75
C896=55
C897=75
C898=53
C899=73
C89A=54
C89B=74
C89C=33
C89D=33
C89E=48
C89F=68
C8A0=4E
C8A1=64
C8A2=38
C8A3=38
C8A4=5A
C8A5=7A
C8A6=41
C8A7=61
C8A8=45
C8A9=65
C8AA=4F
C8AB=6F
C8AC=4F
C8AD=6F
C8AE=4F
C8AF=6F
C8B0=4F
C8B1=6F
C8B2=59
C8B3=79
C8B4=6C
C8B5=6E
C8B6=74
C8B7=6A
C8B8=64
C8B9=71
C8BA=41
C8BB=43
C8BC=63
C8BD=4C
C8BE=54
C8BF=73
C980=7A
C981=50
C982=70
C983=42
C984=55
C985=56
C986=45
C987=65
C988=4A
C989=6A
C98A=51
C98B=71
C98C=52
C98D=72
C98E=59
C98F=79
C990=61
C991=61
C992=61
C993=62
C994=6F
C995=63
C996=64
C997=64
C998=65
C999=65
C99A=65
C99B=33
C99C=33
C99D=33
C99E=33
C99F=6A
C9A0=67
C9A1=67
C9A2=47
C9A3=79
C9A4=79
C9A5=68
C9A6=68
C9A7=68
C9A8=69
C9A9=69
C9AA=49
C9AB=6C
C9AC=6C
C9AD=6C
C9AE=68
C9AF=6D
C9B0=6D
C9B1=6D
C9B2=6E
C9B3=6E
C9B4=4E
C9B5=6F
C9B6=6F
C9B7=6F
C9B8=70
C9B9=72
C9BA=72
C9BB=72
C9BC=72
C9BD=72
C9BE=72
C9BF=72
CA80=52
CA81=52
CA82=73
CA83=73
CA84=6A
CA85=73
CA86=73
CA87=74
CA88=74
CA89=75
CA8A=75
CA8B=76
CA8C=76
CA8D=77
CA8E=79
CA8F=59
CA90=7A
CA91=7A
CA92=33
CA93=33
CA94=32
CA95=32
CA96=33
CA97=43
CA98=4F
CA99=42
CA9A=65
CA9B=47
CA9C=48
CA9D=6A
CA9E=4B
CA9F=4C
CAA0=71
CAA1=32
CAA2=32
CAA3=64
CAA4=64
CAA5=64
CAA6=74
CAA7=74
CAA8=74
CAA9=66
CAAA=6C
CAAB=6C
CAAC=77
CAAD=6E
CAAE=68
CAAF=68
CAB0=68
CAB1=68
CAB2=6A
CAB3=72
CAB4=72
CAB5=72
CAB6=52
CAB7=77
CAB8=79
Onweerwolf
Posts: 710
Joined: Tue Dec 12, 2006 5:32 pm
Location: The Netherlands

Re: mediamonkey.ini FilenameMappings character help

Post by Onweerwolf »

Eldorage's list is very handy. Thanks.

However I'm looking to remap some more characters, things like ▲, Ỵ, ~, and other similar stuff. Are there codes for these as well? Does anybody know where I can find these?
Image
Post Reply