开发者

What's the simplest python lib for edit mp3's album and artist?

开发者 https://www.devze.com 2023-01-31 21:57 出处:网络
What\'s the simplest python开发者_如何学C lib for edit mp3 album and artist? I mean, just get and set the strings.I don\'t know if it\'s the simplest, but one Python-centric audio tagging library I\'

What's the simplest python开发者_如何学C lib for edit mp3 album and artist?

I mean, just get and set the strings.


I don't know if it's the simplest, but one Python-centric audio tagging library I've heard about many times is Mutagen.


Good review at http://www.blog.pythonlibrary.org/2010/04/22/parsing-id3-tags-from-mp3s-using-python/

Gist of it: eyeD3 (with a quick hack to install on Windows) or mutagen (without much documentation). Examples of each in action: How do you embed album art into an MP3 using Python?

There is also a package at https://github.com/disko/bp.tagging which wraps mutagen - this may help you figure it out.

0

精彩评论

暂无评论...
验证码 换一张
取 消