Configuración de Directorio y Formatos de Nombre de Archivo

From MediaMonkey Wiki
Jump to navigation Jump to search


Cuando ripee, convierta formatos, sincronice pistas a dispositivos portables, guarde pistas al CD virtual, grabe Pistas a un CD ó auto-organizing tracks, puede seleccionar el formato en el cual los directorios y los nombres de archivo serán creados. Cuando auto-etiquete en base a nombre de archivo puede seleccionar qué etiquetas serán escritas basándose en el formato del Directorio / Nombre de archivo. Esta sección describe las máscaras del Directorio y Archivo que le permitirán definir estos formatos.

Conceptos

En general, hay 3 elementos para configurar al momento de elegir un formato de destino:

  1. Directorio: Este se elige utilizando el botón de navegación de directorios (por ejemplo C:\My Music), aunque en algunos casos (por ejemplo para grabar un CD) no hay necesidad de elegir un directorio.
  2. Directorio de formato: Este se elige utilizando la 'máscara' como \<Intérprete>\<Album>\ . Por ejemplo
    C:\My Music\<Intérprete>\<Album>\ daría lugar a
    C:\My Music\U2\The Joshua Tree\
  3. Formato de nombre de archivo: Este se elige usando las 'máscaras' como \<# Pista> - <Título> . Por ejemplo
    C:\My Music\<Intérprete>\<Album>\<# Pista> - <Título> daría lugar a
    C:\My Music\U2\The Joshua Tree\1 - Where the Streets Have No Name.mp3

De manera similar, cuando se utiliza el Auto-Etiquetado en base a Nombre de Archivo, 2 elementos son configurados para leer el formato de nombre de archivo:

  1. Directorio de formato: por ejemplo \<Intérprete>\<Album>\ sería el siguiente \My Music\Beatles\White Album\Song.mp3 y asignaría el campo Intérprete a 'Beatles' y el campo Album a 'White Album'
  2. Formato de Nombre de Archivo: por ejemplo \<Intérprete> - <Título> sería el siguiente \U2 - God y asignaría el campo Intérprete a 'U2' y el campo de Título a 'God'

Información Relacionada con Máscaras

La siguiente tabla describe la mayoría de los caracteres comúnmente utilizados y los campos en una máscara.

' ' (espacio) Un espacio en una máscara aparece como un espacio en la ruta/nombre de archivo cómo está escrito. Tenga en cuenta que los espacios desaparecen automáticamente en caso de que se encuentren en el inicio o al final de un nombre de archivo.
'-' Un guión en una máscara aparece como un guión en la ruta/nombre de archivo como está escrito.
'\' Una diagonal invertida seguida de un elemento máscara causará que un directorio sea creado.
'.\' A .\ at the beginning of a mask causes whatever portions of the mask that follow to be written in the same directory as the source file(s). For example, a mask of C:\My Music\<Artist> - <Title> would write tracks to C:\My Music, but a mask of .\<Artist> - <Title> would write the new filenames into the directories from which the source files originate.
<Intérprete> Escribe el campo Intérprete a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Album> Escribe el campo Album a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Título> Escribe el campo Título a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Género> Escribe el campo Género a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<# Disco> Escribe el campo Número de Disco a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<# Pista> Escribe el campo Número de Pista a un directorio o nombre de archivo (asumiendo que no es seguido por un '\')
<Año> Escribe el campo Año de Pista a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Bitrate> Escribe el campo Bitrate a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Intérprete del Album> Escribe el campo Intérprete del Album a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<BPM> Escribe el campo Beats Per Minute (Pulsos Por Minuto) a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Compositor> Escribe el campo Compositor un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Custom x> Escribe 1 de los 5 campos personalizados a un directorio o nombre de archivo (dependiendo de si es seguido de por un '\')
<Salto:x> Ignora x carácteres en la ruta. Sólo se usa para Auto-Etiquetado en base a Nombre de Archivo.
$First(<'Field'>,count,skip) Limita el número de valores de campos de definición múltiples para contar opcionalmente omitiendo valores de salto. Por ejemplo:
<Genre> would yield: Rock;Pop;Acoustic
$First(<Genre>) would yield: Rock
$First(<Genre>,2) would yield: Rock;Pop
$First(<Genre>,1,1) would yield: Pop
<'Field':n> Puede ser usado en conjunción con cualquiera de los elementos anteriores de la máscara con el fin de forzar alfabéticamente los campos a una longitud específica o para campos alfanuméricos (comodines). Por ejemplo:
C:\My Music\<Artist:1>\<Artist>\<Album> - <Track #> - <Title> which would yield C:\My Music\A\Abba\Gold - 2 - Fernando.mp3 , útil para la creación de directorios alfabetizados.
<Track#:2> would yield 07 (for Track=7), and would yield 153 (for Track 153)
Numeric fields are not truncated: e.g. <Year:3> would yield 1940 (for 1940);
  La excepción será: <Year:2> would yield 40 (aside from this specific field and value, numeric fields are not otherwise truncated)
Nota: Para campos de texto, los caracteres resultantes comienzan desde la izquierda. Para campos numéricos, los dígitos resultantes comienzan desde la derecha. Si n > al número de caracteres en el campo, entonces la ruta resultante es .

Can be used in conjunction with any of the above mask elements in order to force alphabetic fields to a specified length or to pad alphanumeric fields. For instance:
C:\My Music\<Artist:1>\<Artist>\<Album> - <Track #> - <Title> which would yield C:\My Music\A\Abba\Gold - 2 - Fernando.mp3 , useful for creating alphabetized directories.
<Track#:2> would yield 07 (for Track=7), and would yield 153 (for Track 153)
Numeric fields are not truncated: e.g. <Year:3> would yield 1940 (for 1940);
  The exception being: <Year:2> would yield 40 (aside from this specific field and value, numeric fields are not otherwise truncated)
Note: For text fields, the resultant characters start from the left. For numeric fields, the resultant digits start from the right. If n > the number of characters in the field, then the resultant path is padded with spaces or 0's depending on whether the field is text or numeric.

<'Field':-n> Same as above except that if n > the number of characters in the field, then the resultant path is padded with spaces or 0's (depending on whether the field is text or numeric) from the opposite side.

<'Field'@n>

Creates alphabetical directories grouped in sets of x letters. For example: C:\My Music\<Artist@3>\<Title> would create directories with all Artists beginning with ABC, DEF, GHI, etc.

$RemovePrefix(cadena) Remueve un prefijo de una cadena. Por ejemplo, $RemovePrefix(<Artist>) changes 'The Beatles' -> 'Beatles' . Prefixes are configured in Tools > Options > Library > Appearance > Ignore prefixes.
$MovePrefix(cadena) Mueve un prefijo al final de una cadena. Por ejemplo $RemovePrefix(<Artist>) changes 'The Beatles' -> 'Beatles, The'. Prefixes are configured in Tools > Options > Library > Appearance > Ignore prefixes.
$Group(cadena,entero) Groups the first letter of the string into sets of letters of length specified by (optional) integer parameter. e.g. \$Group(<Artist>,2) for 'U2' would yield \UV (similar to <Artist@2>.
$Replace(cadena,what,by) Reemplaza todas las ocurrencias en un 'string' de 'what' por 'by'.
$Left(cadena,n) Regresa n carácteres a la izquierda de una cadena.
$Right(cadena,n) Regresa n carácteres a la derecha de una cadena.
$Mid(cadena,i,n) Regresa n carácteres de una cadena comenzando con el carácter i
$Trim(cadena) Regresa una cadena con espacios recortados desde el principio al final de una cadena
$Upper(cadena) Convierte una cadena a mayúsculas
$Lower(cadena) Convierte una cadena a minúsculas
<Folder:n> This will recreate all folders in a source path except for the first 'n' directories. For example: C:\My Music\<Folder:2>\<Title> would create the source directory structure (without the first 2 directories in the source paths), followed by track title.
<Folder:-n> This will recreate only the last n folders in a source path. This is very useful when it is known that the source directory is homogeneously structured.
<Playlist> Writes the Playlist name for any Playlists that have been selected to a folder (assuming it is followed by a '\'). This mask can only be used for CD Burning and Exporting tracks.
<Filename>
<Filename:n>
This recreates the current filename, and can be used with modifiers to force the resultant text to a set length.
<Type> Writes the file type to a directory \My Music\MP3\U2... or \My Music\M4A\U2....
<Auto Number>
<Auto Number:n>
This creates a sequential number that can be inserted into the path. This is especially useful for inserting into the beginning of a filename when exporting to a device or burning to a CD and you wish for tracks in a playlist to be played in the order of the playlist (rather than alphabetical order). By default, 3 digits are used, though this is configurable.
<Random>
<Random:n>
This creates a random number that can be inserted in the path. It is most useful for inserting into the beginning of a filename when exporting to a device or burning to a CD and you wish to ensure that the tracks will be played in random (rather than alphabetic) order. By default, 4 digits are used, though this is configurable by setting n.
<Path> This recreates the same path and filename as the original source file(s), without the drive letter.
<Path:n> This recreates the same path and filename as the original source file(s), without the drive letter or the first n folders of the source path.
<Path:-n> This recreates the same path and filename as the original source file(s), without the drive letter or the last n elements of the source path.
$if(string criteria,truevalue,falsevalue)

This allows masks to be used conditionally. Several examples follow:
To use a mask if 2 fields or a field and a string are equal, use '=' . For example, in the case of an Album Artist differing from the Artist, you may want both to appear in the path:
--- \<Album Artist> - <Album>\<Track#> $If(<Artist>=<Album Artist>,,<Artist> - )<Title>

Similarly, other operators such as <,<=,>,>= and <> can be used. For instance, to return 80's for year 1984:
--- $If(<Year><1990,80's,$If(<Year><2000,90's,2000's))

To use a mask if a field isn't empty, just enter a string without any criteria'. For example:
--- D:\My Music\$If(<Artist>,<Artist:1>,None)\<Artist>$If(<Album>, - <Album>\,)<Title>
--- \$If(<Artist>,<Artist> - ,)$If(<Album>,<Album> - ,)$If(<Track#>,<Track#> ,)<Title>

Note: Make sure to precede all control characters such as ')' or ',' with '$' if you wish them to appear as normal characters. For example:
--- \My Music\$if(<artist>,<artist> (<year>$),Unknown)\<track>

$Len(string) Returns the length of string. Useful with $If() function.
$Assign(variable,value) and $Use(variable) Allows variables to be used several times in a mask, e.g. '$Assign(V,A)$Use(V)$Use(V)' produces string 'AA'. This is useful when a complex 'value' (i.e. a mask component) needs to be used several times within a mask.


English  • Deutsch • español • français


Additional Help: Knowledge Base | Forum | MediaMonkey Support | MediaMonkey for Android Help | MediaMonkey 5 Help | MediaMonkey 4 Help