diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-24 18:30:10 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-24 18:30:10 +0200 |
| commit | 387138410532daad174ed602fd03f4f979cd3d81 (patch) | |
| tree | 56d2d7d86bd34a1db02d2c5aa7891ca374948b88 /packages/meshbay-node/tests | |
| parent | 6e9afe3e54ab6fb0162393150b7892655b4561d4 (diff) | |
| download | meshbay-387138410532daad174ed602fd03f4f979cd3d81.tar.gz | |
refactor(node): move per-app enrichment out of NodeDaemon
The _enrich_*/_reenrich_* methods and _on_enriched become
EnrichmentMixin in meshbay_node/enrichment.py, with the two directory
helpers only they use. APP_DIR_KEYS stays on NodeDaemon.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/tests')
| -rw-r--r-- | packages/meshbay-node/tests/test_audio_root_gates_enrichment.py | 2 | ||||
| -rw-r--r-- | packages/meshbay-node/tests/test_video_root_gates_enrichment.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py b/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py index b8c4dd6..3446be9 100644 --- a/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py +++ b/packages/meshbay-node/tests/test_audio_root_gates_enrichment.py @@ -1,7 +1,7 @@ """ Music-app enrichment (tag/cover extraction, docs/MESHBAY_DESIGN.md §9.8) only ever runs for a group that has an audio_root configured, and only for files -under it — see daemon.py's _enrich_new_audio_entries. Same reasoning as +under it — see enrichment.py's _enrich_new_audio_entries. Same reasoning as Videos' video_root gate (test_video_root_gates_enrichment.py), added later: the original "no root, whole shared tree" call turned out wrong against a real messy library, where everything under every shared folder got mixed diff --git a/packages/meshbay-node/tests/test_video_root_gates_enrichment.py b/packages/meshbay-node/tests/test_video_root_gates_enrichment.py index c39876a..0e5e631 100644 --- a/packages/meshbay-node/tests/test_video_root_gates_enrichment.py +++ b/packages/meshbay-node/tests/test_video_root_gates_enrichment.py @@ -1,7 +1,7 @@ """ Videos-app enrichment (ffprobe/thumbnailing/TMDB, docs/MESHBAY_DESIGN.md §6.5) only ever runs for a group that has a video_root configured, and only for -files under it — see daemon.py's _enrich_new_video_entries. Burning TMDB's +files under it — see enrichment.py's _enrich_new_video_entries. Burning TMDB's rate limit and the node's CPU on an operator's whole shared index before they have chosen which folder is actually their media library would be real, ongoing cost for files never meant to be in the Videos app at all. |