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

Uploaded Source

Built Distribution

mediafile-0.9.0-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mediafile-0.9.0.tar.gz
Algorithm Hash digest
SHA256 93ccef3fbb7d4554a0e7689d41236cd5686a2f2f17493098622b8344cf83df9a
MD5 f082f5b58b3b1310d085369b1bb0bd15
BLAKE2b-256 cae70135e7afbd1fb0a38759b80e37aba61c9a5d762c7d3b291e05972d86a7c2

See more details on using hashes here.

File details

Details for the file mediafile-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: mediafile-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.0

File hashes

Hashes for mediafile-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce8c7968f2b8646d7c3eeb509a7b1d0d1cfe3e127a268f099f438e73330167f3
MD5 426e4147f8659d08018563f68a0f0a6e
BLAKE2b-256 757351c21b2efc9f563723ab522dac49021c4a228516a335f9726620ba610ac2

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