A simple, cross-format library for reading and writing media file metadata. Current version 0.17.0, requires Python >=3.10. Part of the beets ecosystem, with monthly releases.
pip install mediafileVerified import paths — ran on the pinned version, not inferred.
Basic reading and writing of audio metadata.
Upgrade Python to 3.10 or later.
Update imports: from mediafile import MediaFile (no change needed for basic usage).
Assign lists: mf.composers = ['Composer A', 'Composer B'].
MediaFile('file.wav', raise_on_unsupported_wav=False)pip install mediafile
Ensure correct package: from mediafile import MediaFile. If conflicting package exists, uninstall: pip uninstall mediafile then pip install mediafile
Open with raise_on_unsupported_wav=False: MediaFile('file.wav', raise_on_unsupported_wav=False)