Djay Database and Cue Point feedback from MixMasterG

Hi everyone,
Great thread — and the MixMasterG video is a goldmine. The chapters on how djay identifies tracks (artist + title + length), the grants system, and the silently growing database is top.
@tfmeier — you asked whether anyone else is working on reading the djay database: I am, for a different but related goal. I mix techno, and djay has no phrase analysis (see the long-standing “Can we have phrase analysis?” suggestion thread, which I’ve been following and voting on). So I want to build a small companion prep tool, strictly read-only: read the BPM and beatgrid that djay computes for each track, and generate phrase grids (16/32 beats from the first downbeat) and prep sheets for my sets. This would be especially valuable for Apple Music tracks, where external analysis tools can’t help because of streaming.
Since our projects overlap on the same unknown — the structure of the djayMediaLibrary database (YapDatabase on SQLite, blobs probably NSKeyedArchiver?) and when djay writes to it — I’d be happy to share findings. I’m about to start a careful read-only exploration of the database on macOS.
Has anyone here (or MixMasterG himself, if he reads this) already decoded the collections and blob format? Any pointers would save a lot of time. And of course, an official read API from Algoriddim would make all of this unnecessary — I’ve voted for that suggestion too.
I’ll report back with whatever I find.
Yannick

Nb: I am using Claude code for this project

2 Likes