Tagging: Difference between revisions

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


*a. Launch 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.
*b. Drag the CD folder(s) from Explorer into the mp3tag tracklist (right) pane.
*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.
*c. If you are tagging multiple CDs:
*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.
Right-click a tracklist column heading, and click 'Customise columns...'
 
In the Columns dialog box that appears, click the New (page with star) icon.
 
In the Name field enter "TIN"
 
In the Value and 'Sort by' fields enter
<pre>$regexp(%_directory%,^(.*)('[''[':digit:']'']'{13,14}).*$,\2)</pre>
 
Click OK
 
In the tracklist column headers, click on "TIN". Verify that all tracks are displaying a valid TIN here.
 
*d. Press CTRL-A to select all files.
*e. Select Convert | Text file - tag ('Taglist-file/Tag' in older versions);
*f. In Filename enter the path of the text file in which you saved the tagging.php output.
In 'Format string' enter the following line <pre>%dummy%;%album%;%track%;%title%;%artist%;%genre%;%year%;%dummy%</pre>
 
(The number of fields in the text file must equal the number of fields in the format string.)


[[Category:computer]]
[[Category:computer]]

Revision as of 2007-04-04T00:30:01

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. Drag the CD folder(s) from Explorer into the mp3tag tracklist (right) pane.
  • c. If you are tagging multiple CDs:

Right-click a tracklist column heading, and click 'Customise columns...'

In the Columns dialog box that appears, click the New (page with star) icon.

In the Name field enter "TIN"

In the Value and 'Sort by' fields enter

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

Click OK

In the tracklist column headers, click on "TIN". Verify that all tracks are displaying a valid TIN here.

  • d. Press CTRL-A to select all files.
  • e. Select Convert | Text file - tag ('Taglist-file/Tag' in older versions);
  • f. In Filename enter the path of the text file in which you saved the tagging.php output.

In 'Format string' enter the following line

%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 .