Clean metadata and tag audio files (MP3, FLAC, Ogg Vorbis)
Project description
audio-metatag
Clean metadata and tag audio files (MP3, FLAC, Ogg Vorbis)
- Copyright (c) 2015-2025 Corey Goldberg
- Development: GitHub
- Download/Install: PyPI
- License: MIT
About:
audio_metatag is a Python CLI program that cleans metadata and adds ARTIST/TITLE
tags to MP3, FLAC, or Ogg vorbis audio files. It can be used on individual
files or a library of files.
- In order to process a file, it must be named in a specific format:
Artist - Title.mp3,Artist - Title.flac,Artist - Title.ogg- File names must contain a delimiter (
-) betweenArtistandTitle, and end with a valid extension:.mp3,.flac,.ogg(case-insensitive)
- It will skip any files that are not named according to the format specified above
- If filenames are given as command-line options, it will only process those files
- If no filename is specified, it will process all files (recursively) in the current directory
- A different directory can be specified using the
--diroption
Warning: Edits are done in-place. Backup your files first if you want a copy of the originals.
- Existing metadata (tags) and pictures are deleted
- ARTIST and TITLE tag data is taken from the filename
- Metadata tags are saved to the file (id3v2, flac, ogg)
Requirements:
- Python 3.12+
Installation:
Install from PyPI:
pip install audio-metatag
CLI Options:
usage: audio_metatag [-h] [-d DIR] [-c] [-s] [filename ...]
positional arguments:
filename file to process (multiple allowed)
options:
-h, --help show this help message and exit
-d, --dir DIR start directory
-c, --clean only clean metadata (don't write new tags)
-s, --show only show metadata (don't remove or write tags)
Usage Examples:
Install from PyPI with pipx:
pipx install audio-metatag
Clean metadata and tag a single file:
audio_metatag "Some Artist - Some Title.mp3"
Clean metadata and tag all files in current directory (recurse subdirectories):
audio_metatag
Clean metadata from all files in a directory (recurse subdirectories):
audio_metatag --clean --dir=/path/to/files
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file audio_metatag-0.1.5.tar.gz.
File metadata
- Download URL: audio_metatag-0.1.5.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e034e252d2be3fcbe340927ca462ed337fec3d1fad4f3881a70385c7e62721ed
|
|
| MD5 |
d39573493c7b31b66cbac1a217bb4019
|
|
| BLAKE2b-256 |
adbb8b52a8d96911900ee74748d15188dca1a9736fafafda9958a69f0c5bb3c1
|
File details
Details for the file audio_metatag-0.1.5-py3-none-any.whl.
File metadata
- Download URL: audio_metatag-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f715bdc61ed1a67478f0e31dfb1b686c309f9b9bde0d708f89ec26fbaec225f3
|
|
| MD5 |
42f8c5e6a8e64b1fabc3ae791af4cd2a
|
|
| BLAKE2b-256 |
dbd60c02d241a0d2b5175ee0673bf89b5bdd48393cdd4b1a6848f72f1afe2112
|