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

Uploaded Source

Built Distribution

mediafile-0.8.1-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mediafile-0.8.1.tar.gz
Algorithm Hash digest
SHA256 878ccc378b77f2d6c175abea135ea25631f28c722e01e1a051924d962ebea165
MD5 18b86cace6c053bd089831759c4ce501
BLAKE2b-256 b9ab14e45cb4869aa3bf91d82e2fac66101e4a00e7e0b2af5e04ab5e06c49e1d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mediafile-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e013980e8f33bd22bf5f2fa4733b75bc02e0e9f7eedce2aec305accee6e0707b
MD5 706f242351338cb1f42a6d13b20bbfe4
BLAKE2b-256 c282131bd5f98a89d192369e8e913c99c8284a8eddf9a7af268ace01f8f03b0a

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