Tango.info music track metadata submissions: Difference between revisions
Jump to navigation
Jump to search
(Format string separator update carried to export config loop) |
|||
Line 9: | Line 9: | ||
<pre><TIN>;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds%</pre> | <pre><TIN>;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds%</pre> | ||
where <TIN> is an expression that depends on the source but yields the album [[TIN]]. If the source is [[TINT-based filing]], this expression is %_parent_directory%. | where <TIN> is an expression that depends on the source but yields the album [[TIN]]. If the source is [[TINT-based filing]], this expression is %_parent_directory%. | ||
WARNING: this could cause import errors if %album% or %BAND% contained the %album% %BAND% separator.<br> | |||
Proposal: Change the separator to '''<tt>;</tt>''' . | |||
For example:<pre> | For example:<pre> |
Revision as of 2008-04-23T18:09:43
data.tango.info is the data provider of tango.info. Hence for example the data that you see for an album such as http://www.tango.info/00724349997226 is provided by data.tango.info, and presented by www.tango.info.
track metadata submissions
The format preferred by the data.tango.info editor for receiving track metadata is text consisting of:
- a header line containing the Mp3tag format string below
- for each track, one line containing the metadata field values as generated by this Mp3tag format string:
<TIN>;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds%
where <TIN> is an expression that depends on the source but yields the album TIN. If the source is TINT-based filing, this expression is %_parent_directory%.
WARNING: this could cause import errors if %album% or %BAND% contained the %album% %BAND% separator.
Proposal: Change the separator to ; .
For example:
<TIN>;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds% 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;1;Nostalgias;Tango;Francisco Lomuto canta Jorge Omar;;;182 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;2;Quiero verte una véz más;Tango;Francisco Lomuto canta Fernando Díaz;;;145 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;3;Sentimiento gaucho;Tango;Francisco Lomuto;;;172 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;4;Madreselva;Tango;Francisco Lomuto canta Jorge Omar;;;155 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;5;La melodía de nuestro adiós [chop at 0s!, jump at 1m33s];Tango;Francisco Lomuto canta Jorge Omar;;;138 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;6;Damisela encantadora;Vals;Francisco Lomuto canta Jorge Omar;;;175 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;7;Por la vuelta;Tango;Francisco Lomuto canta Jorge Omar;;;148 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;8;Dímelo al oído;Tango;Francisco Lomuto canta Alberto Rivera;;;158 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;9;Adiós muchachos;Tango;Francisco Lomuto canta Jorge Omar;;;160 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;10;Intimas [noisy!];Tango;Francisco Lomuto canta Carlos Galarce;;;156 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;11;Caminito;Tango;Francisco Lomuto canta Cerry Brian, Jorge Omar;;;193 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;12;Noche de ronda;Vals;Francisco Lomuto;;;151 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;13;las cuarenta;Tango;Francisco Lomuto canta Jorge Omar;;;166 00743216153824;RCA Club [00743216153824] | Francisco Lomuto;cd;1/1;14;La gayola;Tango;Francisco Lomuto canta Fernando Díaz;;;189
The following Mp3tag export config will generate such a text from a TIN-based filing source:
'<TIN>;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds%' $loop(%_parent_directory%\%_directory%\%track%)%_parent_directory%;%album% | %BAND%;cd;%discnumber%;%track%;%title%;%genre%;%artist%;;%year%;%_length_seconds% $loopend()