Skip to main content

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 信息
  • 输出统一为 utf-8 编码

Feature

  • Read mp3 idv3 information under specific folder
  • output attribute information in utf-8

Requirement

  • chardet

Usage

from mp3tag import musictag

music_path = '/Users/shiqiang/Downloads/old_mbp_files/OldMBP-Music/'

# mpt = mp3tag()
# mpt.get_version()
musictag.analyze_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}

Release Notes

  • 0.0.3 : Rename module name, modify example and readme

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.3.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

mp3tag-0.0.3-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file mp3tag-0.0.3.tar.gz.

File metadata

  • Download URL: mp3tag-0.0.3.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for mp3tag-0.0.3.tar.gz
Algorithm Hash digest
SHA256 54796d8029e5ee96332e614f9273797de2289ca9bc86b70d897e4428a6f2d040
MD5 681e77930e2050df5c31b21131e03690
BLAKE2b-256 8fb115ac23c59337cb6dcce43d717e4cb7f1ab1b7f900fd1750b736df9805685

See more details on using hashes here.

Provenance

File details

Details for the file mp3tag-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: mp3tag-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for mp3tag-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f01900a27fc298153f04dcc1781f207f42d2294956888c348847f84e3fa9a3c2
MD5 161b33fae761bd226875fb3402b24dae
BLAKE2b-256 32ebec833f7952fd8f794854a56fe9ac55b1c0adad6df9740cc0b0299b3fd692

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page