v0.68.0: DJ vocal splits survive tag edits; a size limit for their cache

This commit is contained in:
2026-10-19 22:16:39 -07:00
parent 1d215fd045
commit d1174c6b35
6 changed files with 322 additions and 12 deletions
+7
View File
@@ -395,6 +395,13 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
model exists) and "gentle" (default: a quarter of the cores, nice 19).
Splits are cached per model (`<key>/<model>/`; Round 93's sit in
`<key>/` and count as htdemucs) and a deck takes the best one cached.
**Round 100**: `<key>` is a hash of the *audio packets* (`ffmpeg -c copy
-f hash`), not path + size + mtime — loading a song with no BPM writes
its BPM tag, which orphaned every such split at once. `index.json`
memoizes path + size + mtime → key; old path-keyed folders are renamed
on sight. The cache is held to config.json's `dj_stem_cache_gb`
(Preferences › DJ, default 1): after each split the least recently used
songs go (`stems.prune`).
**Prepare for DJ** (a playlist's or songs' right-click; `dj/prepare.py`)
does the BPM + split ahead of time with the status-bar progress/cancel.
Each deck also has a volume fader (outer edge, perceptual), a ½×/1×/2×