Skip to content

v1.3.0 - multi-format tags, real concurrency

Latest

Choose a tag to compare

@formeo formeo released this 13 Oct 06:07
· 2 commits to main since this release
f3afb63

✨ New

  • Tags for FLAC, M4A, OGG and Opus. Tags were written to MP3 only. Now FLAC/OGG/Opus get Vorbis comments and M4A gets MP4 atoms. Already tagged files in these formats are skipped on the next run instead of being sent to Shazam again. WAV, AAC and WMA are still recognized, renamed and organized, but their tags are not written.

🐛 Fixed

  • --concurrent now works. Files used to be processed strictly one by one, whatever the setting. Up to --concurrent Shazam requests (default 5) now run in parallel: with --concurrent 5, a directory is processed about 5× faster. Renaming stays race-free: files resolving to the same name get (1), (2) suffixes and nothing is lost.
  • Progress always reaches 100%, including when a conversion fails.

⚠️ Default concurrency is now real: up to 5 parallel requests to Shazam's unofficial API instead of effectively 1. If requests start failing, lower --concurrent or increase --delay.

📖 Documentation

README rewritten: processing pipeline, full CLI reference, format support matrix (including when FFmpeg is required), safety notes and known limitations.

Upgrading from 1.2.1 (PyPI)

1.2.2 was not published to PyPI, so this release also brings its safety fixes:

  • recognized files are no longer renamed to name (1).mp3 on every run;
  • --convert is off by default and keeps the source unless --delete-source is given (1.2.1 deleted FLAC/WAV originals after converting them to MP3);
  • --rename keeps the real file extension;
  • the genre tag is the actual genre instead of "Open in Apple Music";
  • Python 3.13 is supported.

See the 1.2.2 release notes for details.

pip install -U music-recognition-tool

Full Changelog: v1.2.2...v1.3.0