Tango.info music track metadata submissions: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
<pre><TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length%</pre> | <pre><TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length%</pre> | ||
* for each track, a line containing the metadata field values as implied by the header line | * for each track, a line containing the metadata field values as implied by the header line | ||
** <TIN> is a source-dependent expression yielding the album [[TIN]]. | ** <TIN> is a source-dependent expression yielding the album [[TIN]]. | ||
** < | *** If the source is [[TINT-based filing]], this may be generated by the Mp3tag placeholder %_parent_directory%. | ||
** <nowiki>[Further details to be added]</nowiki> | |||
For example:<pre> | For example:<pre> |
Revision as of 2009-09-17T12:36:52
track metadata submissions
The format preferred by the data.tango.info editor for receiving track metadata is text consisting of:
- the header line
<TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length%
- for each track, a line containing the metadata field values as implied by the header line
- <TIN> is a source-dependent expression yielding the album TIN.
- If the source is TINT-based filing, this may be generated by the Mp3tag placeholder %_parent_directory%.
- [Further details to be added]
- <TIN> is a source-dependent expression yielding the album TIN.
For example:
<TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length% 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;1;Nostalgias;tango;Francisco Lomuto canta Jorge Omar;;;03:04 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;2;Quiero verte una vez más;tango;Francisco Lomuto canta Fernando Díaz;;;02:27 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;3;Sentimiento gaucho;tango;Francisco Lomuto;;;02:54 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;4;Madreselva;tango;Francisco Lomuto canta Jorge Omar;;;02:37 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;5;La melodía de nuestro adiós;tango;Francisco Lomuto canta Jorge Omar;;;02:20 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;6;Damisela encantadora;vals;Francisco Lomuto canta Jorge Omar;;;02:57 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;7;Por la vuelta;tango;Francisco Lomuto canta Jorge Omar;;;02:30 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;8;Dímelo al oído;tango;Francisco Lomuto canta Alberto Rivera;;;02:40 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;9;Adiós muchachos;tango;Francisco Lomuto canta Jorge Omar;;1942;02:42 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;10;Intimas;tango;Francisco Lomuto canta Carlos Galarce;;;02:38 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;11;Caminito;tango;Francisco Lomuto canta Cerry Brian, Jorge Omar;;;03:15 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;12;Noche de ronda;vals;Francisco Lomuto;;;02:33 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;13;Las cuarenta;tango;Francisco Lomuto canta Jorge Omar;;;02:48 00743216153824;RCA Club [00743216153824];Francisco Lomuto;cd;1/1;14;La gayola;tango;Francisco Lomuto canta Fernando Díaz;;;03:11
The following Mp3tag export config will generate such a text from a TINT-based filing source:
$filename(c:\temp.txt,ANSI)'<TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length%' $loop(%_parent_directory%\%_directory%\%track%)%_parent_directory%;$regexp(%album%,' +\[.*\]',);$if($and($and($neql(%BAND%,),$neql(%ALBUMARTIST%,)),$neql(%BAND%,%ALBUMARTIST%)),ERROR! Band/AlbumArtist conflict,%BAND%%ALBUMARTIST%);cd;$regexp(%discnumber%,^(\d+)/.*$,\1);%track%;$regexp(%title%,' \[.*\]',);$lower(%genre%);%artist%;;%year%;%_length% $loopend()
Notes:
- No source property value may contain the separator character ";".
- Occurences of [...] are removed from Album and Track title.
- Separator and quantity are removed from Disc Number
- Genre is converted to lower case.
- Album Artist receive only one of Mp3tag BAND (preferred by WMA/MP3) and ALBUMARTIST (preferred by FLAC)