Tell me more ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for a tool to edit tags in MP3s through a script.

The files are episodes of several podcasts where the tags are inconsistent between episode: Sometimes the Album or Genre tag is missing for example. The script will run after new episodes are downloaded to modify the tags.

I have tried id3tool and id3v2 already.

id3v2 does not support free Genre tags, only a numbered list of predefined genres is offered. In this list, there is no genre "Podcast".

id3tool only supports id3v1, where the field lengths are limited. But there is an option to specify free Genre definitions.

Is there a tool that supports all the required functionality? It should compile under Mac OS X 10.6.

share|improve this question
1  
Someone had recommended eyeD3, but I don't know where this answer has gone. I have tried eyeD3 and it seems to do what I want. I will report after success. – ischeriad Sep 10 '10 at 20:05

3 Answers

The mutagen Python module comes with a mid3v2 command.

mid3v2 --artist "Sigur Rós" *.mp3

Before you ask: No, mutagen does not support ID3v1, because there is no valid reason to be using it these days.

share|improve this answer
I don't want to use ID3v1, so your tip is alright. – ischeriad Sep 8 '10 at 21:34
1  
Mutagen can be installed with sudo easy_install pip; sudo pip install mutagen on OS X. mid3v2 also supports Unicode unlike id3tag and id3v2. – Lauri Ranta Aug 12 '12 at 17:17

ID3 Editor
Although the linked website page is oriented towards GUI, it does contain "NEW! Command line editor".

share|improve this answer
Tag is a Windows based command line tool or missing I something? – relikd Jan 21 '12 at 22:01
@relikd: You are right - so I edited it out. – harrymc Jan 21 '12 at 22:48
Pa-Software ID3 Editor is trialware or USD15 - not free – Mark Mikofski Mar 15 at 20:45
@MarkMikofski: This must have changed since 2010. – harrymc Mar 16 at 8:43

Tagr was recommended; it's free, looks powerful (batch process, cover work, etc.), but not sure it has CLI.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.