MP3 tag information reader and writer.
Project description
mp3tag
本 repo 提供一个支持读取、修改 mp3 标签信息的工具,关于 mp3 标签信息的内容,使用Python读取Mp3的标签信息 做了初步的介绍。
Tools for read and modify mp3 tag information, you can search wiki to know more about "Identity of MP3".
特性
- 支持读取某个文件夹下 mp3 文件的 idv3 信息
Feature
- Read mp3 idv3 information under specific folder
Usage
from mp3tag import mp3tag
music_path = '/Users/shiqiang/Downloads/old_mbp_files/OldMBP-Music/'
mpt = mp3tag()
mpt.get_version()
mpt.search_folder(music_path)
Result
$ python3 examples/tag_example.py
{'title': None, 'artist': 'Pure Music', 'album': 'นลตไร๛ว๚', 'year': b'', 'comment': b'', 'genre': 0}
{'title': 'And One', 'artist': 'Linkin Park', 'album': 'Underground 1.0', 'year': b'', 'comment': b'', 'genre': 0}
Reference
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mp3tag-0.0.2.tar.gz
(15.6 kB
view hashes)
Built Distribution
mp3tag-0.0.2-py3-none-any.whl
(15.7 kB
view hashes)