Tagging mp3 files with id3tag

id3tag is a basic tagger where you provide the information about an album yourself. It is useful for Albums you cannot find in the picard database, but also useful for basic tagging of the files before feeding them into Picard so they can be classified correctly searching the database.

Installing id3tag Fedora Core 5

  • sudo yum install id3lib
    

Installing id3tag Debian Etch

  • apt-get install libid3-3.8.3-dev
    

Using id3tag

  • Title:
    id3tag -s"Ruby" 01_Ruby.mp3
    id3tag -s"The Angry Mob" 02_The_Angry_Mob.mp3
    id3tag -s"Heat Dies Down" 03_Heat_Dies_Down.mp3
    
  • Track number:
    id3tag -t1 01_Ruby.mp3
    id3tag -t2 02_The_Angry_Mob.mp3
    id3tag -t3 03_Heat_Dies_Down.mp3
    
    For tracks named track01.cdda.mp3 etc:
    for a in * ; do export no=`echo $a | cut -c6-7`; id3tag -t"$no" $a; done
    
  • Genre:
    id3tag -g17 *.mp3
    
    (List of genres: http://www.linuxselfhelp.com/HOWTO/MP3-HOWTO-13.html#ss13.3 Examples:
    0 Blues
    8 Jazz
    9 Metal
    13 Pop
    17 Rock
    32 Classical
    52 Electronic
  • Artist:
    id3tag -a"Kaiser Chiefs" *.mp3
    
  • Album:
    id3tag -A"Your Truly, Angry Mob" *.mp3
    

Back to Hanne's Technotes Page

Back to Hanne's HomePage



Valid HTML 4.01!

Last updated: February 10, 2010