|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [Unreleased] |
| 9 | + |
| 10 | +## [0.1.0] - 2026-04-24 |
| 11 | + |
| 12 | +### Added |
| 13 | + |
| 14 | +- Parallel enrichment pipeline: scans MP3 folders, fetches Discogs / Wikipedia / MusicBrainz |
| 15 | + metadata, and writes enriched ID3 tags via `mutagen`. Controlled by `--workers`. |
| 16 | +- Five-strategy track-matching algorithm that handles multi-disc albums, non-numeric Discogs |
| 17 | + positions (vinyl A/B sides, roman numerals), and fuzzy ID3 title matching. |
| 18 | +- ID3 tag writing with full metadata: title, artist, album artist, year, genre, grouping |
| 19 | + (pipe-delimited `Origin:City | Gender:... | Subgenre:... | Label:... | link:...`), |
| 20 | + disc number, and embedded album art. |
| 21 | +- Manual-review CSV workflow: albums that cannot be matched automatically are exported to a |
| 22 | + CSV; after a human supplies Discogs URLs the `process-manual` command applies them. |
| 23 | +- `scan-integrity` command: walks the library and reports ID3 tag / folder-name mismatches |
| 24 | + (album artist mismatch, inconsistent tags, all-untitled albums, etc.). |
| 25 | +- `retry-not-found` command: re-runs Discogs enrichment on all `not_found` albums without |
| 26 | + a subprocess round-trip. |
| 27 | +- `prefill-master-urls` command: pre-fills the `user_discogs_url` column in a manual-review |
| 28 | + CSV using two search passes, reducing reviewer lookup work. |
| 29 | +- `enrich-missing` command: re-scans artist directories for albums referenced in a reviewed |
| 30 | + CSV that are missing from the database. |
| 31 | +- Claude and Gemini LLM clients for collective / affiliation detection, written as injectable |
| 32 | + `Protocol` implementations so either backend can be swapped at runtime. |
| 33 | +- SQLite repository layer with versioned migrations and WAL-mode concurrency. |
| 34 | +- Structured logging via `structlog` (JSON in CI, pretty console in development). |
| 35 | +- Pydantic v2 models at every external data boundary (Discogs API, LLM JSON output, DB rows). |
| 36 | +- `tenacity`-based retry decorator with server-provided `Retry-After` awareness and |
| 37 | + exponential back-off. |
| 38 | +- Token-bucket rate limiter used across all Discogs API calls. |
| 39 | +- Windows SMB share fallback: when `mutagen`'s in-place save fails with `EINVAL`, the writer |
| 40 | + copies to a local temp file and moves it back to avoid cross-device shutil issues. |
| 41 | +- Four Claude Code skills (`/scan-integrity`, `/retry-not-found`, `/prefill-master-urls`, |
| 42 | + `/enrich-missing`) matching the four operational CLI commands. |
| 43 | + |
| 44 | +### Fixed |
| 45 | + |
| 46 | +- Apostrophe / contraction handling in title-case normalisation so that "She's Gone" is not |
| 47 | + upper-cased to "She'S Gone" (#79). |
| 48 | +- Multi-disc track-title shifting: disc-2 files now map directly to Discogs position "N-M" |
| 49 | + rather than falling through to an incorrect positional index. |
| 50 | +- Artist-name sanity check rejects Discogs matches where folder artist and release artist have |
| 51 | + < 40% token-set similarity (e.g. Cat Stevens vs. Astrud Gilberto class of false positives). |
| 52 | +- Discogs release artist used as track-artist fallback when per-track artist list is empty. |
| 53 | + |
| 54 | +[Unreleased]: https://github.com/jschloman/mp3-enricher/compare/v0.1.0...HEAD |
| 55 | +[0.1.0]: https://github.com/jschloman/mp3-enricher/releases/tag/v0.1.0 |
0 commit comments