Tango.info music track metadata submissions

From tango.info wiki
Revision as of 2010-12-16T16:53:31 by Chrisjjj (talk | contribs)
Jump to navigation Jump to search


track metadata submissions

eligibilty

To be eligible for submission, the metadata must meet these conditions:

  • (to be added)

format

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%;;%date%;%_length%
  • for each track, a line containing the metadata field values according with 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]

For example:

<TIN>;%album%;%BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%date%;%_length%
00743216153824;RCA Club;Francisco Lomuto;cd;1;1;Nostalgias;tango;Francisco Lomuto canta Jorge Omar;;;03:04
00743216153824;RCA Club;Francisco Lomuto;cd;1;2;Quiero verte una vez más;tango;Francisco Lomuto canta Fernando Díaz;;;02:27
00743216153824;RCA Club;Francisco Lomuto;cd;1;3;Sentimiento gaucho;tango;Francisco Lomuto;;;02:54
00743216153824;RCA Club;Francisco Lomuto;cd;1;4;Madreselva;tango;Francisco Lomuto canta Jorge Omar;;;02:37
00743216153824;RCA Club;Francisco Lomuto;cd;1;5;La melodía de nuestro adiós;tango;Francisco Lomuto canta Jorge Omar;;;02:20
00743216153824;RCA Club;Francisco Lomuto;cd;1;6;Damisela encantadora;vals;Francisco Lomuto canta Jorge Omar;;;02:57
00743216153824;RCA Club;Francisco Lomuto;cd;1;7;Por la vuelta;tango;Francisco Lomuto canta Jorge Omar;;;02:30
00743216153824;RCA Club;Francisco Lomuto;cd;1;8;Dímelo al oído;tango;Francisco Lomuto canta Alberto Rivera;;;02:40
00743216153824;RCA Club;Francisco Lomuto;cd;1;9;Adiós muchachos;tango;Francisco Lomuto canta Jorge Omar;;1942;02:42
00743216153824;RCA Club;Francisco Lomuto;cd;1;10;Intimas;tango;Francisco Lomuto canta Carlos Galarce;;;02:38
00743216153824;RCA Club;Francisco Lomuto;cd;1;11;Caminito;tango;Francisco Lomuto canta Cerry Brian, Jorge Omar;;;03:15
00743216153824;RCA Club;Francisco Lomuto;cd;1;12;Noche de ronda;vals;Francisco Lomuto;;;02:33
00743216153824;RCA Club;Francisco Lomuto;cd;1;13;Las cuarenta;tango;Francisco Lomuto canta Jorge Omar;;;02:48
00743216153824;RCA Club;Francisco Lomuto;cd;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)