Open-Source DJ Library Organization
Python tooling for Rekordbox audits, offline spectral audio checks, artist origin and vocal language tags, and multi-store crate buy-lists.
- Goal
- Keep large DJ libraries clean, verified, and set-ready—catching low-quality or transcoded files, tagging artist origin and vocal language reliably, protecting existing cues/ratings/backups, and turning crate gaps into track sourcing links.
- Outcome
- Live with Rekordbox workflows, ffmpeg/numpy audio checks, #from-* and #lang-* tags, multi-store search links, and Spotify/CSV playlist support.
◆ The Situation
Preparing sets across growing music libraries breaks down when files have questionable audio quality or transcodes, missing context like artist origin or vocal language, or scattered crate ideas. Worse, careless tagging scripts can overwrite user ratings, cue points, or original metadata.
◆ The Approach
Designed around safety first and fast, repeatable DJ prep. Every edit path prioritizes tag backups and non-destructive rules so ratings and cues stay untouched; local ffmpeg and numpy analysis checks audio integrity offline with conservative transcode thresholds; multi-signal detection writes clean #from-* and #lang-* hashtags into comment fields; and buy-list generation builds search links across active stores with Spotify playlist ingestion (GET /playlists/{id}/items) plus CSV fallback.
◆ The Work
- Built Rekordbox XML (private/) parsing with pre-edit tag backups and non-destructive write-back rules that preserve ratings and cue points
- Implemented offline audio/spectral verification using ffmpeg and numpy with conservative transcode thresholds
- Added multi-signal artist origin and vocal language detection that writes standardized #from-* and #lang-* tags into comment metadata
- Created a buy-list builder generating search links across active stores (Bandcamp, Beatport, Traxsource, Volumo, Qobuz) and supporting Spotify playlist ingestion (GET /playlists/{id}/items) with CSV fallback
