eyeD3 0.7.2 发布,读写ID3标签的Python模块
jopen 11年前
eyed3的是一个Python程序模块,它提供了读取和写入ID3标签(v1.x和v2.3/v2.4)的功能。它可以解码MP3头(比特率,采样频率,播放时间等)。
import eyed3 audiofile = eyed3.load("song.mp3") audiofile.tag.artist = u"Nobunny" audiofile.tag.album = u"Love Visions" audiofile.tag.title = u"I Am a Girlfriend" audiofile.tag.track_num = 4 audiofile.tag.save()发布说明: 这次发布增加对Python 2.6支持 (默认是2.7),支持ID3 chapters/TOC,disc number/total commandline options, optional preservation of file modification time during saves, --no-color, more stats in the statistics plugin, and fixes for PRIV frames, tag templates, iD3 conversions, play times, etc