|
|
(41 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| [[Category:computer]] | | [[Category:Computer]] |
| [[Category:howto]] | | [[Category:How-to]] |
| | [[category:DJing]] |
| | Adding metadata to audio files is called tagging. |
| ==Software== | | ==Software== |
| * A great program for managing your music files' tags is [[Mp3tag]]. | | * Windows |
| | ** [[Mp3tag]] - a great program for managing your music files' tags |
| | ** Foobar as tagger[http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components_0.9/foo_masstag] |
| | ** [[PicardQt tagger]](with picard-tangoinfo plugin) |
| | * Linux |
| | ** GUI: |
| | *** Puddletag [http://puddletag.sourceforge.net/] - which tries to be like Mp3tag (more or less) |
| | ***[[PicardQt tagger]](with picard-tangoinfo plugin) |
| | *** KID3tag [http://kid3.sourceforge.net/] |
| | *** Easytag [http://easytag.sourceforge.net/] |
| | *** Ex Falso [http://www.sacredchao.net/quodlibet] |
| | ** CLI |
| | *** audiotag |
| | *** eyed3tag |
| | *** (and many more) |
|
| |
|
| ==How to tag your music files from tango.info data== | | ==Tag data sources== |
| This is a procedure for labelling the files of your computer-based music library with metadata (track name, artist, genre etc.) from tango.info.
| | * [[tango.info]] |
| | ** [[tango.info tagging | tagging]] |
| | ** [[tango.info add track listing | contributing tag data]] |
|
| |
|
| Terminology
| | ==Tag management== |
| | * [[tag remapping]] |
|
| |
|
| * ''barcode number'' - the 12, 13 or 14-digit number (excluding spaces and dashes, e.g. '''8427328130431''') shown under the barcode on the back cover of the album's case, or on the album's tango.info page.
| | ==Tagging standard== |
| * ''solo tagging'' - does one album at a time | | * [[track metadata standard]] |
| * ''mass tagging'' - does multiple albums (e.g. your whole library) in one go. | | * [[tagging considerations]] |
|
| |
|
| Results
| | ==Tagging process using tango.info source== |
| | *[[solo tagging]] |
| | *[[mass tagging]] |
| | ** [[mass tagging with foobar2000]] |
| | ** [[mass tagging with mp3tag]] |
| | *** [http://wiki.tango.info/w/mul/index.php?title=mass_tagging_Mp3tag_import_format_string_-_click_in_the_box_below%2C_press_CTRL%2BA_and_then_CTRL%2BC%2C_then_click_Back_to_return_to_the_instructions.&action=edit mass tagging format string] |
| | ** [[tango.info tagger]] |
|
| |
|
| The tags filled are:
| | ==From talk== |
| * '''Album''' (title), mass tagging only: '''Side''' (a.k.a. Disc Number, Set) (Note: '''Album Artist''' not included)
| | [[User:Chrisjjj|Chrisjjj]] 13:50, 23 October 2007 (CEST) Issue: unrecognised TIN is not faulted. E.g. 00000000000001 |
| * (of track:) '''Title''', '''Track''' (number), '''Artist''', '''Genre''', '''Year'''
| |
| Note: The '''Artist''' value is a comma-separated list of first primary artist name(s) (e.g. orchestra leader), and then secondary artist name(s) in alphabetic order of (full) name.
| |
|
| |
|
| ==Solo tagging== | | [[User:Chrisjjj|Chrisjjj]] 13:50, 23 October 2007 (CEST) Issue: result with blank genre gives ''not found:Array ( ) NO GENRE:Array ( [0] => 00743219561329 )'' between output rules e.g. https://tango.info/tools/tagging.php?tins=00743219561220&sepa=%3B |
| Limitations
| |
| * Solo tagging works only for single-CD albums - for multi-CD albums, instead use mass tagging.
| |
|
| |
|
| Requirements
| | ===2007-07-13 [[Carlos Vallejos]] in reply to a mail by [[Tobias Conradi]]=== |
| | In my experience, as generally all programs work on the database structure, we should keep supplementary information on a track as condensed as possible, in order to allow all infos to fit into the grid space (that seems to be never enough!) for example; |
|
| |
|
| * Your album's track files are in one folder containing no additional audio files. | | *Canaro ins for Canaro instrumental |
| * Track filenames begin with the track number and these numbers are the same length e.g. '''01''','''02''',...'''10''' (not '''1''','''2''',...'''10'''). | | *Canaro-Falcon for Canaro sings Ada Falcon |
| | *etc |
| | It exist the case of famous interpreters as: |
|
| |
|
| ===Step 1 - set up Mp3tag===
| | *Tita Merello (con Francisco Canaro) |
| If you haven't already done so
| | *Carlos Gardel (con Francisco Canaro) |
| #Download the (free of charge) Mp3tag program V2.39c or later [http://www.mp3tag.de/en/download.html here], and install.
| | *Edmundo Rivero (con Anibal Troilo) |
| | *Francisco Fiorentino, con su orquesta |
| | *Enrique Corsini con su orquesta |
| | *Alberto Castillo (con Emilio Balcarce) |
| | that are usually accompained by some big orchestras. We should decide if we keep the criteria of the sequence |
|
| |
|
| ===Step 2 - Retrieve tag data===
| | ORCHESTRA'DIRECTOS SECOND NAME, - , 1st. SINGER'S SECOND NAME |
| *If you have the album's barcode number:
| |
| #Go to http://tools.tango.info/tagging.php.
| |
| #Enter the barcode number into the (unlabelled) text input box and click '''Submit'''.
| |
| *Else (you do not have the barcode number):
| |
| #Go to http://eng.tango.info, enter album's title or artist name and click '''search''' (you'll get a list of matching albums listed under '''CDs''').
| |
| #Identify your album, checking title and artist name, and click on it (you'll get the tango.info album page).
| |
| #Check that album page's track quantity agrees with your album's files. If it doesn't, you probably mis-identified the album.
| |
| #Click on the link in the top left of that page labelled '''tools.tango.info/tagging'''.
| |
|
| |
|
| You've retrieved the tag lines for your tracks.
| | [[User:Chrisjjj|Chrisjjj]] 18:14, 21 October 2007 (CEST) I strongly disagree. Track tags should contain the full information, e.g. '''Francisco Canaro & Ada Falcon'''. And the '''Artist''' field should contain only artists and not the content description '''Instrumental'''. |
| | ===album - subtitles=== |
| | https://tango.info/08427328130844 - Chrisjjj |
|
| |
|
| ===Step 3 - Save the tag data===
| | Well, I would say this date is an album sub-title. If t.i added support |
| #Identify the tag list - from the previous step it is all lines between (not including) the last two horizontal rules, but excluding any final line(s) starting with '''not found:Array ( )''' (these can be safely ignored)
| | for album sub-titles, displaying them as distinct from titles, for tagging |
| #Select all lines in the tag list, then right click and Copy to the clipboard.
| | it could give the option of putting it into a sub-field e.g. Album = |
| #Launch Notepad and into it Paste the clipboard.
| | <albumtitle> | <albumsubtitle1> |
| #Save under the filename '''c:\temp.txt'''.
| |
| | |
| You've saved the tag lines for your tracks.
| |
| | |
| ===Step 4 - Put the tag data into your track files===
| |
| #Launch '''mp3tag'''.
| |
| #Click ''' File | Change directory...''' and select your album folder.
| |
| #In the tracklist heading, click on '''Title''' then '''Filename''' (you'll get the track list ordered by ascending track number).
| |
| # Click '''Edit | Select all files'''.
| |
| # Click '''Convert | Text file - Tag''' (you'll get the '''Text file - Tag''' dialog box).
| |
| # In '''Filename:''' enter '''c:\temp.txt'''.
| |
| # In '''Format string''' enter<pre>%dummy%;%album%;%track%;%title%;%artist%;%genre%;%year%;%dummy%</pre>
| |
| # Click '''OK'''.
| |
| | |
| You've put the tag data into your track files. Mp3tag shows you the result.
| |
| | |
| ==Mass tagging==
| |
| Requirements
| |
| | |
| <ul><li>Each library album contains all and only its CDs and each CD contains all and only its tracks - none missing, none extra. Improvement is planned.</li>
| |
| <li>The folders to be tagged must contain no audio files apart from the album tracks themselves.</li>
| |
| <li>Folder and file names are as follows:</li>
| |
| <ul>
| |
| <li>Each filename starts with the track number.</li>
| |
| <li>Tracks are in folders the names of which:
| |
| <ul><li>contain the album barcode number (at any position), and;</li>
| |
| <li>for all CDs in a multi-CD album are the same except for a fixed-length CD number.</li></ul>
| |
| <li>Examples:<br>
| |
| <tt>El rey del compas (1941-1943) '''0828766933420'''\'''01''' El rey del compás.mp3</tt><br>
| |
| <tt>40 Grandes Exitos [CD'''1'''] ['''8427328146067''']\'''01''' Patotero sentimental.mp3</tt><br>
| |
| <tt>40 Grandes Exitos [CD'''2'''] ['''8427328146067''']\'''01''' Porteño y bailarín.mp3</tt></li>
| |
| </ul></ul>
| |
| | |
| === Step 1 - set up Mp3tag===
| |
| If you haven't already done so
| |
| <ol><li>Download the (free of charge) Mp3tag program V2.39c or later [http://www.mp3tag.de/en/download.html here], and install.</li>
| |
| <li>Launch '''Mp3tag'''.</li>
| |
| <li>Right-click the tracklist heading, and click '''Customize columns...''' (you'll get the '''Columns''' dialog box).</li>
| |
| <li>Click the '''starred page icon''' (you'll get an entry for a new column).</li>
| |
| <li>In '''Name''' type<pre>ti3</pre></li>
| |
| <li>Copy the following line (taking care to include the entire length - it ends with <tt>''')'''</tt> ):<br><pre>$regexp($regexp(:%_directory%,^.*?('[''[':digit:']'']'{12,14}).*$,\1),:.*,no barcode number found in folder name)-:%_directory%:-$regexp($num($regexp(%_filename%:,^('[''[':digit:']'']'+).*$,\1),4),^0000$,no track number found at start of file name)</pre>and Paste into both '''Value''' and '''Sort by'''.</li>
| |
| <li>Click '''OK''' (you'll get a '''ti3''' column appear in the track list).</li>
| |
| <li>Click '''File | Export''' (you'll get the '''Export''' dialog box).</li>
| |
| <li>Click the '''starred page icon''', type<pre>ti3</pre> and click '''OK''' (you'll get the new export config file '''ti3.mte''' open in (by default) Notepad).</li>
| |
| <li>Delete all lines, Copy the following lines (taking care to include the full length of the first - it ends with '''<tt>1</tt>''' - and to preserve the line break):<br><pre>$filename(,ansi)$loop($regexp($regexp(:%_directory%,^.*?('[''[':digit:']'']'{12,14}).*$,\1),:.*,),1)$regexp($regexp(:%_directory%,^.*?('[''[':digit:']'']'{12,14}).*$,\1
| |
| ),:.*,)$loopend()</pre>and Paste them into Notepad.
| |
| <li>Save the file.</li></ol>
| |
| | |
| ===Step 2 - Retrieve tag data===
| |
| #Launch '''mp3tag'''.
| |
| #Click '''File | Change directory...''' and select the folder containing your albums. You may then add further albums using '''File | Add directory...'''
| |
| #Click '''File | Export''' (you'll get an '''Export''' dialog box).
| |
| #Select '''ti3'''.
| |
| #In '''Export file name''' enter '''c:\temp.txt''' and click '''OK''' (you'll get a '''Display Export file now?''' dialog box).
| |
| #Click '''Yes''' (you'll get (by default) a Notepad window listing your albums' barcode numbers).
| |
| #Copy all lines to the clipboard.
| |
| #Go to http://tools.tango.info/tagging3.php.
| |
| #Paste into the (unlabelled) text input box and click '''Submit'''
| |
| | |
| You've retrieved the list of tag lines for your tracks.
| |
| | |
| ===Step 3 - Save the tag data===
| |
| #Identify the tag list - from the previous step it is all lines between (not including) the last two horizontal rules, but excluding any final line(s) starting with '''not found:Array ( )''' (these can be safely ignored)
| |
| #Select all lines in the tag list, then Copy to the clipboard.
| |
| #Return to the still open Notepad window, delete all contents, then Paste from the clipboard.
| |
| #'''IMPORTANT''': check that the tag list contains lines for every album in your set. If it does not, tango.info didn't have tag data for this album - do not use this tag list but instead return to Mp3tag, delete all tracks of the missing albums, and repeat from step 3.2 above. (Improvement is planned.)
| |
| #Save (under the existing filename '''c:\temp.txt''').
| |
| | |
| You've saved the tag lines for your tracks.
| |
| | |
| ===Step 4 - Put the tag data into your track files===
| |
| # Return to '''mp3tag'''.
| |
| #In the tracklist heading, click on '''Title''' then '''ti3''' (you'll get the tracks sorted by ascending barcode number, CD number and track number).
| |
| # Click '''Edit | Select all files'''.
| |
| # Click '''Convert | Text file - Tag'''.
| |
| # In '''Filename''' enter '''c:\temp.txt'''.
| |
| # In '''Format string''' enter<pre>%dummy%;%album%;%discnumber%;%track%;%title%;%artist%;%genre%;%year%;%dummy%</pre>
| |
| # Click '''OK'''. The files will be tagged.
| |
| | |
| You've put the tag data into your track files. Mp3tag shows you the result.
| |