Skip to main content

Handles low-level interfacing for files' tags. Wraps Mutagen to

Project description

https://github.com/beetbox/mediafile/workflows/Build/badge.svg?branch=master http://img.shields.io/pypi/v/mediafile.svg

MediaFile is a simple interface to the metadata tags for many audio file formats. It wraps Mutagen, a high-quality library for low-level tag manipulation, with a high-level, format-independent interface for a common set of tags.

Synopsis

MediaFile is available on PyPI. Install it by typing pip install mediafile. It works on Python 2.7 and Python 3.4 or later. Then:

>>> from mediafile import MediaFile
>>> f = MediaFile('Lucy.mp3')
>>> f.title
u'Lucy in the Sky with Diamonds'
>>> f.artist = 'The Beatles'
>>> f.save()

Documentation

See the full documentation.

Authors

MediaFile is part of the beets project. It was originally written by Adrian Sampson and is now developed by the beets community. The license is MIT.

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

mediafile-0.5.0.tar.gz (505.7 kB view details)

Uploaded Source

Built Distribution

mediafile-0.5.0-py2.py3-none-any.whl (76.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mediafile-0.5.0.tar.gz.

File metadata

  • Download URL: mediafile-0.5.0.tar.gz
  • Upload date:
  • Size: 505.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for mediafile-0.5.0.tar.gz
Algorithm Hash digest
SHA256 da19794e5ca6982aabc2e0b278151ddfad3387675fdd9efe82233560c9de7893
MD5 49563b7f8b99b3035b660850ffffd400
BLAKE2b-256 b6d0c6cba980b0cfd5fb1aa9b38b50bf2e0d4a1e6c836ef283420d095fe2e410

See more details on using hashes here.

File details

Details for the file mediafile-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: mediafile-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 76.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.21.0

File hashes

Hashes for mediafile-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15e5e6a8422746914cabc89082a141c7c057118a08086e34d555f6d6c1b3de47
MD5 22c37289fd4ab0affb000b9fd64fd92d
BLAKE2b-256 1fac9a70943b993958972c44a131d6ecfc573f7adb9d1a3bf48b6901c46de768

See more details on using hashes here.

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