Skip to main content

retag

Identify and retag mislabeled audio files using acoustic fingerprinting.


Requirements

Install ffmpeg

# macOS
brew install ffmpeg

# Ubuntu / Debian
sudo apt install ffmpeg

# Windows
# Download from https://ffmpeg.org

Installation

pip install retag

Or from source:

git clone https://github.com/IRON-M4N/retag.git
cd retag
pip install -e .

Usage

retag <path>                         Scan, identify and tag
retag <path> --interactive           Step-by-step guided mode
retag <path> --dry-run               Preview without writing changes
retag <path> --resume                Skip files already processed
retag get <file|folder>              Inspect embedded metadata
retag get <file> --extract-cover     Extract embedded cover art

All flags

-i, --interactive     Step-by-step guided mode
--overwrite, -f       Retag files that already have tags
--keep-name           Keep original filenames
--no-cover            Skip cover art embedding
--clear-cache         Clear cached state for a folder
--dry-run             Preview changes without writing
--resume              Skip already-processed files
--provider P          Force a provider: audd or acrcloud
--confidence N        Minimum confidence score (default: 60)
--format EXT,...      Limit to specific formats, e.g. mp3,flac
--audd-token TOKEN    AudD API key
--acr-key KEY         ACRCloud access key
--acr-secret SEC      ACRCloud access secret
--version             Show version

supports almost all audio formats


$\frac{\text{Made with } \heartsuit \text{ by IRON-M4N}}{\text{2025 - 6969}}$

Metadata

Release files for retag 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retag 0.1.1
File Size Uploaded
retag-0.1.1.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for retag 0.1.1
File Interpreter ABI Platform
retag-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 53.7 kB

Release files / retag-0.1.1.tar.gz

Download URL retag-0.1.1.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c35a88f13354dcc8c1883eee622bd03e7a594f4f6cfcd99a06b477e4c42c9426
BLAKE2b-256 checksum
How to use checksums
1607ef25ceb190ffd7c666dad71f3a034332c3e3dfb693e19ef75a66e80b5e96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / retag-0.1.1-py3-none-any.whl

Download URL retag-0.1.1-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
848abf4bab7263c1d3361ab8af8b7416fbbb499365effa9803d3717bc3768e69
BLAKE2b-256 checksum
How to use checksums
a65dda12dcb28a3091573d45f13a12cca5d003dffca6518d064aac528040a4e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page