Which MP3 tagging tool for Linux?

157,789

Solution 1

There are various:

  • easytag has a lot of options
  • kid3 if you're on a Qt/KDE environment
  • id3v2 or eyeD3 for the command line
  • Generally music players can also edit common tags, f.e. banshee, rhythmbox or amarok

and a lot others, try searching your distributions repository and test some of them.

Solution 2

I mostly use mid3v2. You can install it with sudo apt-get install python-mutagen in Ubuntu or with sudo easy_install pip;sudo pip install mutagen in OS X.

$ mid3v2 -h
Usage: mid3v2 [OPTION] [FILE]...

Mutagen-based replacement for id3lib's id3v2.

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -v, --verbose         be verbose
  -q, --quiet           be quiet (the default)
  -e, --escape          enable interpretation of backslash escapes
  -f, --list-frames     Display all possible frames for ID3v2.3 / ID3v2.4
  --list-frames-v2.2    Display all possible frames for ID3v2.2
  -L, --list-genres     Lists all ID3v1 genres
  -l, --list            Lists the tag(s) on the open(s)
  --list-raw            Lists the tag(s) on the open(s) in Python format
  -d, --delete-v2       Deletes ID3v2 tags
  -s, --delete-v1       Deletes ID3v1 tags
  -D, --delete-all      Deletes ID3v1 and ID3v2 tags
  --delete-frames=FID1,FID2,...
                        Delete the given frames
  -C, --convert         Convert tags to ID3v2.4 (any editing will do this)
  -a "ARTIST", --artist="ARTIST"
                        Set the artist information
  -A "ALBUM", --album="ALBUM"
                        Set the album title information
  -t "SONG", --song="SONG"
                        Set the song title information
  -c "DESCRIPTION":"COMMENT":"LANGUAGE", --comment="DESCRIPTION":"COMMENT":"LANGUAGE"
                        Set the comment information
  -g "GENRE", --genre="GENRE"
                        Set the genre or genre number
  -y YYYY[-MM-DD], --year=YYYY[-MM-DD], --date=YYYY[-MM-DD]
                        Set the year/date
  -T "num/num", --track="num/num"
                        Set the track number/(optional) total tracks
You can set the value for any ID3v2 frame by using '--' and then a frame ID.
For example:
        mid3v2 --TIT3 "Monkey!" file.mp3
would set the "Subtitle/Description" frame to "Monkey!".

Any editing operation will cause the ID3 tag to be upgraded to ID3v2.4.

id3v2 and id3tag don't support Unicode and id3tool and mp3info don't support ID3v2.

Solution 3

I use Ex Falso. It was installed with QuodLibet music player, so I gave it a shot.

I've used it with single files, batches of files... It's pretty intuitive, and best of all, works very well.

Solution 4

I found this thread and decided to use id3tool. I was only interested in a very light-weight tool, command-line was fine. Trying to keep my system free of clutter brought on occasionally by weighty GUI-intensive tools.

Installing was super easy on Linux Mint:

sudo apt-get install id3tool

As far as I remember it didn't require any additional libraries or anything. To get a full list of the available options:

man id3tool

To see the current metadata for an mp3 file:

id3tool <filename.mp3>

Here is the command I used to update quite afew mp3's:

id3tool -t "<song title>" -a "<album name>" -r "<artist name>" -y "<year>" -c <track number, no quotes, just the number, like 1> <filename.mp3>

After doing this, I told Banshee to rescan my music library and there were no longer any files in the "Unknown" Category. Thanks to strangeronyourtrain for this tip!

Solution 5

I just discovered this little program called puddletag. It is not as wonderful as Tag & Rename, but it's close enough.

From the website:

puddletag is an audio tag editor (primarily created) for GNU/Linux similar to the Windows program, Mp3tag. Unlike most taggers for GNU/Linux, it uses a spreadsheet-like layout so that all the tags you want to edit by hand are visible and easily editable.

The usual tag editor features are supported like extracting tag information from filenames, renaming files based on their tags by using patterns and basic tag editing.

Then there’re Functions, which can do things like replace text, trim it, do case conversions, etc. Actions can automate repetitive tasks. Doing web lookups using Amazon (including cover art), Discogs (does cover art too!), FreeDB and MusicBrainz is also supported. There’s quite a bit more, but I’ve reached my comma quota.

Supported formats: ID3v1, ID3v2 (mp3), MP4 (mp4, m4a, etc.), VorbisComments (ogg, flac), Musepack (mpc), Monkey’s Audio (.ape) and WavPack (wv).

Share:
157,789

Related videos on Youtube

OneSource
Author by

OneSource

...I put on my robe and a wizard hat...

Updated on September 17, 2022

Comments

  • OneSource
    OneSource over 1 year

    Which application would you recommend for Linux to tag MP3s? Under Windows I used to use Tag&Rename and liked it a lot; it works well under Wine, but I want something that runs natively.

  • Jan-Philip Gehrcke
    Jan-Philip Gehrcke almost 10 years
    I agree that mid3v2 is the most reliable and modern command line tagging tool mentioned here. Should be voted up.
  • Admin
    Admin almost 10 years
    I tried id3tool but had some problems. Tags written by id3tool don't seem to be readable by the MAD library in most cases (fails in about 80% of cases).
  • Jakob Bennemann
    Jakob Bennemann over 9 years
    Consider including some further explanation of your suggestions or, at least, links to them.
  • gene_wood
    gene_wood almost 8 years
    Caution using id3v2 as it does not support unicode and will corrupt the tags of any modern mp3s which use unicode (as mentioned by @user495470 in his answer suggesting mid3v2 instead)
  • user889030
    user889030 over 7 years
    any idea how to add Publisher tag with it
  • mivk
    mivk about 7 years
    id3tool doesn't support the normal id3v2 tags, only the old v1 tags. And it is no longer developed.
  • Chew
    Chew about 7 years
    People should be warned that ex falso and quod libet have a non-standart approach to "Album artist" tag. This tag, created in this editor, may be invisible to other players.
  • Michal Polovka
    Michal Polovka almost 7 years
    id3v2 now supports unicode
  • Rodrigo
    Rodrigo about 6 years
    There are many options available which will do batch editing. Unless you want to write the album artist, name, etc. in each of the songs...
  • Rodrigo
    Rodrigo about 6 years
    Please try puddletag and see the difference for yourself. When you have lots of subfolders in need of revision, puddletag is much faster than what you're suggesting.
  • TheBeginner
    TheBeginner about 6 years
    @Rodrigo I think I just added this as an alternative to which people might already have! Saying this as I usually use easytag (you can upvote the puddletag answer btw)
  • ACK_stoverflow
    ACK_stoverflow over 4 years
    Note that, for whatever reason, on Debian you have to install python-mutagen to get the binaries - python3-mutagen doesn't put anything in the path.
  • ambigus9
    ambigus9 over 2 years
    Works perfect! Thanks!
  • wisbucky
    wisbucky over 2 years
    Audacity 2.4.1 writes ID3v2.3, which is the most common and "safest" version. You don't have to worry about v2.4 incompatibility. (I verified it by using eyed3 to read the metadata tags.)