自動整理のために文字を再マップする方法

MediaMonkey for Windows は、ファイル名を書き込むときに、オペレーティング システムによって不正とみなされる文字を除き、ほぼすべての文字を書き込むことができます。このような場合、MediaMonkey for Windows は、サポートされていない文字を、サポートされている「類似の」文字に置き換えます。たとえば、「?」と「*」はファイル名に無効な文字であるため、「-」に置き換えられます。これらの置き換えは、 MediaMonkey.iniファイル内に定義されている置き換えテーブルに基づいて行われます。テーブルはMediaMonkey.iniファイルの[FilenameMappings]セクションにあり、16 進数値を使用して、ソース文字と、それらがマップされる文字を定義します。文字定義は、16 進形式の UTF-8 エンコード文字列の形式である必要があります (そうでない場合は、MediaMonkey for Windows の再起動時に自動的に削除されます)。例:

[ファイル名マッピング]
2A=2D
2F=2D
3A=2D
3C=2D
3E=2D
5C=2D
7C=2D

この例では、 3A=2D は「:」が「-」にマッピングされることを意味します。文字の 16 進数値を調べたい場合は、Windows に付属の「文字マップ」アプリケーションを使用して調べることができます。置換テーブルをニーズに合わせて変更するには、次の手順を実行します。

  1. MediaMonkey for Windows を閉じます (変更が上書きされないようにするため)
  2. MediaMonkey.iniファイルをバックアップします。
  3. メモ帳などのテキスト エディターでMediaMonkey.iniファイルを開き、必要に応じて[FilenameMappings]セクションを編集して保存します。
  4. Windows用MediaMonkeyを起動する

注記

  • 自動整理を使用する際に '\' を含むメタデータが新しいディレクトリを作成しないようにするには、次のマッピングを追加します: 5C=2D

適用対象:

Translated automatically (see original)

How to Remap Characters for Auto-Organize

MediaMonkey for Windows can write almost any character when writing a 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:

  1. Close MediaMonkey for Windows (so that it doesn’t overwrite any of the changes)
  2. Back up the MediaMonkey.ini file.
  3. Open the MediaMonkey.ini file inside a text editor such as Notepad, edit the [FilenameMappings] section as required, and save it.
  4. 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

Applies to: ,

Hide original

この記事は役に立ちましたか?