MediaMonkey for Windows の「ファイルの整理… 」ツールは、ディレクトリ/ファイル名の書き込み時に、オペレーティングシステムによって不正と判断される文字を除き、ほぼすべての文字を書き込むことができます。不正と判断された場合、MediaMonkey for Windows はサポートされていない文字を、サポートされている「類似の」文字に置き換えます。たとえば、「?」と「*」はファイル名に使用できない文字であるため、「-」に置き換えられます。これらの置き換えは、 MediaMonkey.iniファイル内に定義されている置き換えテーブルに基づいて行われます。このテーブルはMediaMonkey.iniファイルの[FilenameMappings]セクションにあり、16 進数値を使用して、元の文字とマッピング先の文字を定義します。文字定義は、UTF-8 でエンコードされた 16 進形式の文字列である必要があります (UTF-8 でエンコードされていない文字は、MediaMonkey for Windows の再起動時に自動的に削除されます)。例:
[ファイル名マッピング]
2A=2D
2F=2D
3A=2D
3C=2D
3E=2D
5C=2D
7C=2D
この例では、 3A=2D は「:」が「-」にマッピングされることを意味します。文字の 16 進数値を調べたい場合は、Windows に付属の「文字マップ」アプリケーションを使用して調べることができます。置換テーブルをニーズに合わせて変更するには、次の手順を実行します。
- MediaMonkey for Windows を閉じます (変更が上書きされないようにするため)
- MediaMonkey.iniファイルをバックアップします。
- メモ帳などのテキスト エディターでMediaMonkey.iniファイルを開き、必要に応じて[FilenameMappings]セクションを編集して保存します。
- Windows用MediaMonkeyを起動する
注記
- 自動整理を使用する際に '\' を含むメタデータが新しいディレクトリを作成しないようにするには、次のマッピングを追加します: 5C=2D
- このツールを使用すると、特定の特殊文字に関連付けられた16進コードを見つけることができます。
MediaMonkey for Windows’ ‘Organize files…‘ tool can write almost any character when writing a directory/filename, except for those characters that are considered illegal by the Operating System. In such cases, MediaMonkey for Windows substitutes unsupported characters with ‘similar’ ones that are supported. For instance ‘?’ and ‘*’ are illegal characters in a filename, and are substituted with ‘-‘. These substitutions occur based on a substitution table defined within the MediaMonkey.ini file. The table is in the [FilenameMappings] section of the MediaMonkey.ini file, and hexadecimal values are used to define the source character and characters to which they are mapped. Note that character definitions must be in the form of UTF-8 encoded strings in hexadecimal form (those that aren’t will be automatically removed on restart of MediaMonkey for Windows). For example:
[FilenameMappings]
2A=2D
2F=2D
3A=2D
3C=2D
3E=2D
5C=2D
7C=2D
In this example, 3A=2D means that “:” is mapped to “-“. If you wish to look up the hexadecimal values of characters, you can do so via the “Character map” application included with Windows. To change the substitution table to better suit your needs:
- Close MediaMonkey for Windows (so that it doesn’t overwrite any of the changes)
- Back up the MediaMonkey.ini file.
- Open the MediaMonkey.ini file inside a text editor such as Notepad, edit the [FilenameMappings] section as required, and save it.
- Start MediaMonkey for Windows
NOTES
- To ensure that metadata containing a ‘\’ doesn’t create a new directory when using auto-organize, add the following mapping: 5C=2D
- You can use this tool to find the hex codes associated with specific special characters
Applies to: MMW4, MMW5+
Hide original