summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/tests/test_audio_meta_cache.py
Commit message (Collapse)AuthorAgeFilesLines
* fix(node): the Music app's tags survive a restartChristophe Besson6 days1-0/+236
media_cache held video_meta, photo_meta and thumbs; the audio tags lived only in the in-memory IndexEntry. So every start re-read every audio file the node serves, and until that pass landed it served an index with no artist on any track — one the Music app cannot group. Over a real 6176-file library the pass costs 27.8s cold and 6.4s from audio_meta. Only what the bytes decided is stored. The filename and folder fallbacks still run live, or a renamed file would get the old name's answer; the sibling-cover scan reads the folder, so it stays live too; and a read that failed is not cached, or one bad read becomes permanent. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>