批量更改 mp3 id3 标签编码

不想用 id3mod,自然有自由软件的解决办法。
$ wget http://quodlibet.googlecode.com/files/mutagen-1.14.tar.gz

$ sudo easyinstall mutagen-1.14.tar.gz
Processing mutagen-1.14.tar.gz
Running mutagen-1.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-0hg6pP/mutagen-1.14/egg-dist-tmp--Dn1sG
zip_safe flag not set; analyzing archive contents...
mutagen 1.14 is already the active version in easy-install.pth
Installing moggsplit script to /usr/local/bin
Installing mutagen-inspect script to /usr/local/bin
Installing mutagen-pony script to /usr/local/bin
Installing mid3iconv script to /usr/local/bin
Installing mid3v2 script to /usr/local/bin

Installed /Library/Python/2.5/site-packages/mutagen-1.14-py2.5.egg
Processing dependencies for mutagen==1.14
Finished processing dependencies for mutagen==1.14
然后切到 mp3 的目录里,比如我的“~/Desktop/周杰伦/魔杰座”,直接执行:
$ cd ~/Desktop/周杰伦/魔杰座
$ find . -name \*.mp3 -exe mid3iconv -e GBK {} \;
Updating ./01 魔杰座.mp3
Updating ./02 女儿红.mp3
Updating ./03 东方之殿.mp3
Updating ./04 红楼梦中.mp3
...
拖入 iTunes,搞定~

Posted by K*K Sun, 05 Oct 2008 07:28:00 +0800