eyeD3 0.7.3 發布,讀寫ID3標簽的Python模塊

jopen 11年前發布 | 7K 次閱讀 eyeD3

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()</pre>發布說明: This release fixes a major bug in the install process that occurred for all users that did not have the 'paver' tool installed. For all these users an upgrade is required. The stats plugin will no longer crash when 0 files are processed

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!