Tagging: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
===Step 2 - Retrieve the tagging information for the newly ripped audio files===
===Step 2 - Retrieve the tagging information for the newly ripped audio files===
Note: Currently this procedure works only for single-CD albums.
Note: Currently this procedure works only for single-CD albums.
Go to http://tools.tango.info/tagging.php .
Examine the cover of the CD.


If you find a 14-digit bar code number (TIN-14) into the query window and click on "submit query" button. This will return the tags for the tracks on your CD.
Either
a) For a CD the cover of which shows a bar code number of 13 (EAN) or 14 (GTIN) digits
If you don't find a bar code number, search the eng.tango.info database for the album's artist name. When you locate the title or cover of the album in the search results, click on it to see the CD details. Click on the tools.tango.info/tagging link. This link will return the tags for the tracks on your CD.


See the example: http://tools.tango.info/tagging.php?tins=00743219561220 .
Go to http://tools.tango.info/tagging.php
 
Enter the bar code number into the (unlabelled) query window and click Submit Query
 
b) For a CD of which you do not have the bar code number
 
Go to eng.tango.info, enter album's artist name and click 'search'.
 
In the search results, locate under 'CDs' the title of the album, click on it, and click on the tools.tango.info/tagging link.
 
For example: http://tools.tango.info/tagging.php?tins=00743219561220 .
 
c) For a collection of CDs of which you have tracks ripped into folders containing anywhere in the name contiguously the bar code number of 13 (EAN) or 14 (GTIN) digits)
 
Launch the mp3tag program
 
Add all the folders
 
Click File | Export | (New icon) and click OK
 
In the text editor window, Delete all lines and insert the lines:
 
$filename(,ansi)$loop($regexp(%_directory%,^(.*)('[''[':digit:']'']'{13,14}).*$,\2),1)$regexp(%_directory%,^(.*)('[''[':digit:']'']'{13,14}).*$,\2)
$loopend()
 
Save the file
 
In the mp3tag Options dialog box, click OK.
 
To 'Display Export file now?', click Yes.
 
In the text editor window that appears (showing a list of the barcode numbers of all the CDs), Copy all lines.
 
Go to http://tools.tango.info/tagging.php
 
Paste the bar code number into the (unlabelled) query window and click Submit Query


===Step 3 - Create a txt file with the retrieved tagging information===
===Step 3 - Create a txt file with the retrieved tagging information===

Revision as of 2007-04-04T00:07:51

Software

How to use http://tools.tango.info/tagging.php

These are instructions for ripping CDs to your hard drive and tagging the resulting mp3 or flac files with tagging information from tango.info.

Step 1 - Rip CD to your hard drive

Use a program such as CDex (available from http://cdexos.sourceforge.net ). You need to rip each CD to a separate folder.

Step 2 - Retrieve the tagging information for the newly ripped audio files

Note: Currently this procedure works only for single-CD albums.

Either a) For a CD the cover of which shows a bar code number of 13 (EAN) or 14 (GTIN) digits

Go to http://tools.tango.info/tagging.php

Enter the bar code number into the (unlabelled) query window and click Submit Query

b) For a CD of which you do not have the bar code number

Go to eng.tango.info, enter album's artist name and click 'search'.

In the search results, locate under 'CDs' the title of the album, click on it, and click on the tools.tango.info/tagging link.

For example: http://tools.tango.info/tagging.php?tins=00743219561220 .

c) For a collection of CDs of which you have tracks ripped into folders containing anywhere in the name contiguously the bar code number of 13 (EAN) or 14 (GTIN) digits)

Launch the mp3tag program

Add all the folders

Click File | Export | (New icon) and click OK

In the text editor window, Delete all lines and insert the lines:

$filename(,ansi)$loop($regexp(%_directory%,^(.*)('[[':digit:']]'{13,14}).*$,\2),1)$regexp(%_directory%,^(.*)('[[':digit:']]'{13,14}).*$,\2) $loopend()

Save the file

In the mp3tag Options dialog box, click OK.

To 'Display Export file now?', click Yes.

In the text editor window that appears (showing a list of the barcode numbers of all the CDs), Copy all lines.

Go to http://tools.tango.info/tagging.php

Paste the bar code number into the (unlabelled) query window and click Submit Query

Step 3 - Create a txt file with the retrieved tagging information

With your mouse, highlight the list of tags you retrieved in Step 2, then right click and Copy it. (Note: you don't copy the whole page, just the data list. Each line of this list begins with the 14-digit number and is followed by other tagging info such as album, song title, track number and year.) Paste the list of tags into a text program like Notepad. Save this as a file with name ending .TXT .

Step 4 - Tag the audio files

Here are instructions for the free tagging program called mp3tag, available from http://www.mp3tag.de/en/ (English). Configure the program:

  • a. Launch the program;
  • b. Choose 'File' 'Change directory' (CTRL + D); Browse to the location of your tracks; Select the folder where you saved your audio files.
  • c. With your mouse, select the first track in the resulting list of audio files. Using that track as an anchor, use the 'Shift' and 'End' keys to select the entire list.
  • d. Select 'Convert' and then 'text file - tag' ('Taglist-file/Tag' in older versions);
  • e. For filename enter the location of the text file.

For format string enter the following string without quotation marks (you can copy and paste it from here)

"  %dummy%;%album%;%track%;%title%;%artist%;%genre%;%year%;%dummy% "

The number of fields in the text file must equal the number of fields in the format string.

Notes

1 The 'disc_tin' field carries a TIN - see http://wiki.tango.info/mul/Tango_Information_Number .