Tagging: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 14: Line 14:


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


Go to http://tools.tango.info/tagging.php
Go to http://tools.tango.info/tagging.php
Line 20: Line 21:
Enter the bar code number into the (unlabelled) query window and click Submit Query
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
b) For a CD of which you do not have the barcode number:


Go to eng.tango.info, enter album's artist name and click 'search'.
Go to eng.tango.info, enter album's artist name and click 'search'.
Line 28: Line 29:
For example: http://tools.tango.info/tagging.php?tins=00743219561220 .
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)
c) For a collection of CDs of which you have tracks ripped into folders containing anywhere in the name contiguously the barcode number of 13 or 14 digits:


Launch the mp3tag program
Launch the mp3tag program
Line 38: Line 39:
In the text editor window, Delete all lines and insert the lines:
In the text editor window, Delete all lines and insert the lines:


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


Save the file
Save the file
Line 51: Line 54:
Go to http://tools.tango.info/tagging.php
Go to http://tools.tango.info/tagging.php


Paste the bar code number into the (unlabelled) query window and click Submit Query
Paste 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:13:39

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 barcode number of 13 or 14 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 barcode 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 barcode number of 13 or 14 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 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 .