Mass tagging with Mp3tag: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(WARNING SUMMARY)
 
(48 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:computer]][[Category:howto]]
[[Category:Computer]]
WARNING: On a 234Kb 11706-line references list here, the tango.into mass tagger inserted approx six blank lines at stattered positions in the reference list, causing six spurious (Error) lines in the tag list, resulting in extreme mistagging in Mp3tag. [[User:Chrisjjj|Chrisjjj]] 2009-04-24T10:21:55 (UTC)
[[Category:How-to]]
*thanks for the report. I once experienced alteration of content when resubmitting. Does the error you reported occur when freshly pasting into input field? [[User:Tobiasco|Tobiasco]] 2009-04-24T12:59:04 (UTC)
*Yes, it occurs when I have pasted from an editor (TextPad) into the empty input field of a new mass tagging form. And the blank lines can be seen in the content of the input field shown after Submit. [[User:Chrisjjj|Chrisjjj]] 2009-04-24T17:28:47 (UTC) PS Should this discussion (but not the warning) be in Talk instead?
*I said Yes, but now when I try that, I don't get the error in the tags. But I still get the blanks in the show input field references. [[User:Chrisjjj|Chrisjjj]] 2009-04-24T17:41:55 (UTC)
 
WARNING SUMMARY: After pasting large input (how large?) into the input field and submitting the form, tango.info tagger sends back faulty data in the input field and good data in the tag field. When submitting the form again, the faulty data will be send to the tango.info tagger and the tags you get back will be faulty too. Work around: only submit freshly pasted data to tango.info tagger.
Confirmed by:
* Tobiasco with Firefox [[User:Tobiasco|Tobiasco]] 2009-04-24T20:07:13 (UTC)
 
--------------------
:''If you know how mass tagging works see: [[mass tagging expert]].''
:''If you know how mass tagging works see: [[mass tagging expert]].''
This mass tagging procedure labels the files of your computer-based music library with track info from [[tango.info]], operating on many files (e.g. your entire library) in one go. It works on files of all major audio formats.
This mass tagging procedure labels ("tags") the files of your computer-based music library with track info from [[tango.info]], operating on many files (e.g. your entire library) in one go. It is compatible with all major audio file formats.


To tag just a one or two albums, you will find [[solo tagging]] quicker.
To label just a one or two albums, you will find [[solo tagging]] quicker.


Mass tagging identifies albums by the [[barcode number]]. The labels ("tags") it supplies are:  
Mass tagging identifies albums by the [[barcode number]]. It supplies the following label fields:  


* '''Album''' (title), '''Album Artist''', '''Side''' (a.k.a. Disc Number, Set)  
* '''Album''' (title), '''Album Artist''', '''Side''' (a.k.a. Disc Number, Set)  
* (of track:) '''Title''', '''Track''' (number), '''Artist''', '''Genre''', '''Year'''*
* (of track:) '''Title''', '''Track''' (number), '''Artist''', '''Genre''', '''Year'''*


<nowiki>*</nowiki> MediaMonkey users - see [[MediaMonkey]] Problems.
<nowiki>*</nowiki> MediaMonkey users - see [[MediaMonkey]] Problems "V3.0.3.1148 Fails to show WMA Year tag values having non-digits".


Note: '''Artist''' is a comma-separated list of primary artist name(s) (e.g. orchestra leader), followed by secondary artist name(s), e.g. '''Osvaldo Pugliese, Roberto Chanel, Alberto Morán''' (improvement planned).
Note: '''Artist''' is a comma-separated list of primary artist name(s) (e.g. orchestra leader), followed by secondary artist name(s), e.g. '''Osvaldo Pugliese, Roberto Chanel, Alberto Morán''' (improvement planned).


===Requirements===
===Requirements===
Track files and their parent folders need to be named as follows:
Track files and their parent folders must be named as follows:
*Each track file name starts with the track number.
*Each track file name starts with the track number.
*Each track's folder path name contains somewhere:
*Each track's folder path name contains somewhere:
**for a single-side album, the album barcode number;
**for a single-side album, the album number - either the barcode number or [[TINP]];
**for each side in a multi-side album, the album barcode number, followed by - or \ , followed by the side number. (For CD albums, side corresponds to disc.)
**for each side in a multi-side album, the album barcode number or [[TINP]], followed by - or \ , followed by the side number. (For CD albums, side corresponds to disc.)
* Leading zeros are allowed on track and side numbers, and on album barcodes provided the result does not exceed 14 characters.
* Options
** Leading zeros are allowed on track and side numbers, and on album barcodes provided the result does not exceed 14 characters.
** The album number may be followed by ] (allowing the album number to be within [...]).
*Examples:
*Examples:
**<tt>My Music\El rey del compas (1941-1943) '''828766933420'''\'''1''' El rey del compás.flac</tt>
**<tt>My Music\El rey del compas (1941-1943) '''828766933420'''\'''1''' El rey del compás.flac</tt>
**<tt>My Music\40 Grandes Exitos (CD1 of 2) '''8427328146067'''-'''1'''\'''01''' Patotero sentimental.flac</tt>
**<tt>My Music\40 Grandes Exitos '''8427328146067'''\'''1'''\'''01''' Patotero sentimental.flac</tt>
**<tt>My Music\40 Grandes Exitos (CD2 of 2) '''8427328146067'''-'''2'''\'''01''' Porteño y bailarín.flac</tt>
**<tt>My Music\40 Grandes Exitos '''8427328146067'''\'''2'''\'''01''' Porteño y bailarín.flac</tt>
**<tt>My Music\40 Grandes Exitos ['''8427328146067''']\'''1'''\'''01''' Patotero sentimental.flac</tt>
**<tt>My Music\40 Grandes Exitos ['''8427328146067''']\'''2'''\'''01''' Porteño y bailarín.flac</tt>
**<tt>My Music\'''08427328146067'''\'''2'''\'''1'''.flac</tt> (TINT\ - see [[TINT-based filing]])
**<tt>My Music\'''08427328146067'''\'''2'''\'''1'''.flac</tt> (TINT\ - see [[TINT-based filing]])
**<tt>My Music\'''08427328146067'''-'''002'''\'''1'''.flac</tt>
**<tt>My Music\'''08427328146067'''-'''002'''\'''1'''.flac</tt>


=== Setup ===
=== Setup ===
#Go [http://www.mp3tag.de/en/download.html here] to download [[Mp3tag]] V2.40b or later, install and launch.
#If you do not already have [[Mp3tag]] installed, go to [http://www.mp3tag.de/en/download.html] to download, install and launch. NOTE: V2.54 is the latest verified version - some past Mp3tag changes broke script compatibility so use a later version only after verification.
#In '''Mp3tag''', click '''Tools | Options | Export'''.
#In '''Mp3tag''', click '''Tools | Options | Export'''.
#Click the '''starred page icon''', type <tt>ti mass tagging</tt> and click '''OK''' (you'll get a '''Notepad''' window).
#Click the '''starred page icon''', type <tt>ti mass tagging</tt> and click '''OK''' (you'll get a '''Notepad''' window).
#To the clipboard copy the code lines found by opening [http://wiki.tango.info/w/mul/index.php?title=mass_tagging_Mp3tag_export_config_-_click_in_the_box_below%2C_press_CTRL%2BA_and_then_CTRL%2BC%2C_then_click_Back_to_return_to_the_instructions.&action=edit this] in a new window.
#Open [https://tango.info/x/wiki/w/index.php?title=mass_tagging_Mp3tag_export_config_-_click_in_the_box_below%2C_press_CTRL%2BA_and_then_CTRL%2BC%2C_then_click_Back_to_return_to_the_instructions.&action=edit this] in a new window, and to the clipboard copy the lines in the text edit box.
#In the '''Notepad''' window, click '''Edit | Select All''' and then '''Edit | Paste''' (all lines are replaced by the lines you copied).
#In the '''Notepad''' window, click '''Edit | Select All''' and then '''Edit | Paste''' (all lines are replaced by the lines you copied).
#Click '''File | Save''', and then '''File | Exit'''.
#Click '''File | Save''', and then '''File | Exit'''.
Line 49: Line 44:


===Step 1 - Retrieve tag data===
===Step 1 - Retrieve tag data===
#Launch '''Mp3tag''' if not already running.
#Launch '''Mp3tag'''.
#Click '''File | Change directory...''' and select the folder containing your album folders. To add further folders, use '''File | Add directory...'''.
#Click '''File | Change directory...''' and select the folder containing your album folders. To add further folders, use '''File | Add directory...'''.
#Click '''File | Export'''), wait until you see a '''Yes''' button, and click it (you'll get a '''Notepad''' window showing a list of track references).
#Click '''File | Export''', wait until you see a '''Yes''' button, and click it (you'll get a '''Notepad''' window showing a list of track references).
#Look for any lines reporting '''Error: track and/or album number missing...'''. For any you find, either:
#Look for any lines reporting '''Error: track and/or album number missing...'''. For any you find, either:
#*correct/add the track and album numbers: in '''Windows Explorer''' adjust the reported file/folder names, then go back to '''2.''' above, or;
#*correct/add the track and album numbers: in '''Windows Explorer''' adjust the reported file/folder names, then go back to '''2.''' above, or;
#*exclude the reported tracks: in '''Mp3Tag''', click '''Path''' (for helpful grouping), select each one and press '''Delete''', then click '''Edit | Unselect All''' and go back to '''3.''' above.
#*exclude the reported tracks: in '''Mp3Tag''', click '''Path''' (for helpful grouping), select each reported track and press '''Delete''', then click '''Edit | Unselect All''' and go back to '''3.''' above.
#In the '''Notepad''' window click '''Edit | Select All''' and then '''Edit | Copy'''.
#In the '''Notepad''' window click '''Edit | Select All''' and then '''Edit | Copy'''.
#In a new browser window open http://tools.tango.info/tagger1.0.php .
#In a new browser window open https://tango.info/tracktagger/1.4.0 .
#Click in the '''Track references''' text box, click '''Edit | Paste''', and click '''Submit'''.
#Click in the '''Track references''' text box, and click '''Edit | Paste'''
#Click '''Submit'''.


You've retrieved the tag data for your tracks.
You've retrieved the tag data for your tracks.
Line 66: Line 62:
#Inspect the tag list for any line starting '''Error:''':
#Inspect the tag list for any line starting '''Error:''':
#*'''Error: track not found...''' means tango.info has no data for this track - the track will simply be skipped.
#*'''Error: track not found...''' means tango.info has no data for this track - the track will simply be skipped.
#*'''Error:''' followed by anything else signifies a serious problem - do not proceed.
#*'''Error:''' followed by anything else signifies a serious problem - '''''do not proceed'''''.
#Click '''File | Save'''.
#Click '''File | Save'''.


Line 76: Line 72:
#Click '''Convert | Text file - Tag''' (you'll get a dialog box).
#Click '''Convert | Text file - Tag''' (you'll get a dialog box).
#In '''Filename''' enter <tt>c:\mp3tag.txt</tt> .
#In '''Filename''' enter <tt>c:\mp3tag.txt</tt> .
#To the clipboard copy the code line found by opening [http://wiki.tango.info/w/mul/index.php?title=Editing_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 this] in a new window.
#In '''Format string''' enter the string found [[tango.info-tagging Mp3tag format string|here]].
#In '''Mp3tag''' click in '''Format string''' and click '''Edit | Paste'''.
#*Note: if you use the preview function and have many tracks (e.g. found on 7597), then the preview can be too large to be shown.
#*Note: if you use the preview function and have many tracks (e.g. found on 7597), then the preview can be too large to be shown.
#Click '''OK''' and wait until you see the completion dialog box saying e.g. '''Tag extracted from text file ' c:\mp3tag.txt" and saved in 2024 of 2024 files.'''  
#Click '''OK''' and wait until you see the completion dialog box saying e.g. '''Tag extracted from text file 'c:\mp3tag.txt' and saved in 2024 of 2024 files.'''  
#Verify the two numbers are the same. If not, you probably made a mistake in copying or pasting - click '''Edit | Undo''' and try again from '''Step 1'''.
#Verify the two numbers are the same. If not, you probably made a mistake in copying or pasting - click '''Edit | Undo''' and try again from '''Step 1'''.



Latest revision as of 2014-03-10T20:06:09

If you know how mass tagging works see: mass tagging expert.

This mass tagging procedure labels ("tags") the files of your computer-based music library with track info from tango.info, operating on many files (e.g. your entire library) in one go. It is compatible with all major audio file formats.

To label just a one or two albums, you will find solo tagging quicker.

Mass tagging identifies albums by the barcode number. It supplies the following label fields:

  • Album (title), Album Artist, Side (a.k.a. Disc Number, Set)
  • (of track:) Title, Track (number), Artist, Genre, Year*

* MediaMonkey users - see MediaMonkey Problems "V3.0.3.1148 Fails to show WMA Year tag values having non-digits".

Note: Artist is a comma-separated list of primary artist name(s) (e.g. orchestra leader), followed by secondary artist name(s), e.g. Osvaldo Pugliese, Roberto Chanel, Alberto Morán (improvement planned).

Requirements

Track files and their parent folders must be named as follows:

  • Each track file name starts with the track number.
  • Each track's folder path name contains somewhere:
    • for a single-side album, the album number - either the barcode number or TINP;
    • for each side in a multi-side album, the album barcode number or TINP, followed by - or \ , followed by the side number. (For CD albums, side corresponds to disc.)
  • Options
    • Leading zeros are allowed on track and side numbers, and on album barcodes provided the result does not exceed 14 characters.
    • The album number may be followed by ] (allowing the album number to be within [...]).
  • Examples:
    • My Music\El rey del compas (1941-1943) 828766933420\1 El rey del compás.flac
    • My Music\40 Grandes Exitos 8427328146067\1\01 Patotero sentimental.flac
    • My Music\40 Grandes Exitos 8427328146067\2\01 Porteño y bailarín.flac
    • My Music\40 Grandes Exitos [8427328146067]\1\01 Patotero sentimental.flac
    • My Music\40 Grandes Exitos [8427328146067]\2\01 Porteño y bailarín.flac
    • My Music\08427328146067\2\1.flac (TINT\ - see TINT-based filing)
    • My Music\08427328146067-002\1.flac

Setup

  1. If you do not already have Mp3tag installed, go to [1] to download, install and launch. NOTE: V2.54 is the latest verified version - some past Mp3tag changes broke script compatibility so use a later version only after verification.
  2. In Mp3tag, click Tools | Options | Export.
  3. Click the starred page icon, type ti mass tagging and click OK (you'll get a Notepad window).
  4. Open this in a new window, and to the clipboard copy the lines in the text edit box.
  5. In the Notepad window, click Edit | Select All and then Edit | Paste (all lines are replaced by the lines you copied).
  6. Click File | Save, and then File | Exit.
  7. In the Mp3tag Options dialog box, untick Show selection dialog.
  8. Click OK (the dialog box will close).

Step 1 - Retrieve tag data

  1. Launch Mp3tag.
  2. Click File | Change directory... and select the folder containing your album folders. To add further folders, use File | Add directory....
  3. Click File | Export, wait until you see a Yes button, and click it (you'll get a Notepad window showing a list of track references).
  4. Look for any lines reporting Error: track and/or album number missing.... For any you find, either:
    • correct/add the track and album numbers: in Windows Explorer adjust the reported file/folder names, then go back to 2. above, or;
    • exclude the reported tracks: in Mp3Tag, click Path (for helpful grouping), select each reported track and press Delete, then click Edit | Unselect All and go back to 3. above.
  5. In the Notepad window click Edit | Select All and then Edit | Copy.
  6. In a new browser window open https://tango.info/tracktagger/1.4.0 .
  7. Click in the Track references text box, and click Edit | Paste
  8. Click Submit.

You've retrieved the tag data for your tracks.

Step 2 - Save the tag data

  1. Click on in the Tag list text box and then click Edit | Copy.
  2. Switch back to the Notepad window (containing the track references, still selected) and click Edit | Paste (the track references will be replaced by the tag list).
  3. Inspect the tag list for any line starting Error::
    • Error: track not found... means tango.info has no data for this track - the track will simply be skipped.
    • Error: followed by anything else signifies a serious problem - do not proceed.
  4. Click File | Save.

You've saved the tag list for your tracks.

Step 3 - Put the tag data into your track files

  1. Switch back to Mp3tag.
  2. Click Edit | Select all files.
  3. Click Convert | Text file - Tag (you'll get a dialog box).
  4. In Filename enter c:\mp3tag.txt .
  5. In Format string enter the string found here.
    • Note: if you use the preview function and have many tracks (e.g. found on 7597), then the preview can be too large to be shown.
  6. Click OK and wait until you see the completion dialog box saying e.g. Tag extracted from text file 'c:\mp3tag.txt' and saved in 2024 of 2024 files.
  7. Verify the two numbers are the same. If not, you probably made a mistake in copying or pasting - click Edit | Undo and try again from Step 1.

You've put the tag data into your track files. Mp3tag shows you the result.

Please consider donating to Mp3tag here.