Jak přemapovat znaky pro automatickou organizaci

Nástroj „ Organizace souborů… “ od MediaMonkey pro Windows dokáže při zápisu názvu adresáře/souboru zapsat téměř jakýkoli znak, s výjimkou znaků, které operační systém považuje za neplatné. V takových případech MediaMonkey pro Windows nahrazuje nepodporované znaky „podobnými“, které jsou podporovány. Například „?“ a „*“ jsou neplatné znaky v názvu souboru a nahrazují se znakem „-“. Tyto substituce probíhají na základě substituční tabulky definované v souboru MediaMonkey.ini . Tabulka se nachází v sekci [FilenameMappings] souboru MediaMonkey.ini a hexadecimální hodnoty se používají k definování zdrojového znaku a znaků, na které jsou namapovány. Definice znaků musí být ve formě řetězců kódovaných UTF-8 v hexadecimálním tvaru (ty, které nejsou, budou po restartu MediaMonkey pro Windows automaticky odstraněny). Například:

[FilenameMappings]
2A = 2D
2F=2D
3A = 2D
3C=2D
3E=2D
5C=2D
7C=2D

V tomto příkladu 3A=2D znamená, že „:“ je mapováno na „-“. Pokud si přejete vyhledat hexadecimální hodnoty znaků, můžete tak učinit prostřednictvím aplikace „Mapa znaků“, která je součástí systému Windows. Chcete-li změnit tabulku náhrad, aby lépe vyhovovala vašim potřebám:

  1. Zavřete MediaMonkey pro Windows (aby nepřepsal žádné změny)
  2. Zálohujte soubor MediaMonkey.ini .
  3. Otevřete soubor MediaMonkey.ini v textovém editoru, jako je Poznámkový blok, podle potřeby upravte sekci [FilenameMappings] a uložte jej.
  4. Spusťte aplikaci MediaMonkey pro Windows

POZNÁMKY

  • Chcete-li zajistit, aby metadata obsahující '\' nevytvořila nový adresář při použití automatického uspořádání, přidejte následující mapování: 5C=2D
  • Tento nástroj můžete použít k nalezení hexadecimálních kódů spojených se specifickými speciálními znaky.

Platí pro: ,

Translated automatically (see original)

How to Remap Characters for Auto-Organize

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:

  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
  • You can use this tool to find the hex codes associated with specific special characters

Applies to: ,

Hide original

Byl tento článek užitečný?