From 387138410532daad174ed602fd03f4f979cd3d81 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 24 Sep 2026 18:30:10 +0200 Subject: 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 --- packages/meshbay-hub/src/meshbay_hub/static/music-app.js | 2 +- packages/meshbay-hub/src/meshbay_hub/static/video-app.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/meshbay-hub') diff --git a/packages/meshbay-hub/src/meshbay_hub/static/music-app.js b/packages/meshbay-hub/src/meshbay_hub/static/music-app.js index 1dbecbb..764331a 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/music-app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/music-app.js @@ -54,7 +54,7 @@ function foldKey(s) { // Same shape as video-app.js's underVideoRoot: an unset root means "show // nothing" (docs/MESHBAY_DESIGN.md §9.8 — the node itself runs no // tag/cover enrichment for this group before a root is chosen either, -// daemon.py's _enrich_new_audio_entries), not "the whole shared tree" — +// enrichment.py's _enrich_new_audio_entries), not "the whole shared tree" — // falling back to that would just show files nothing has enriched. function underAudioRoot(entry, directories) { const dirs = directories || []; diff --git a/packages/meshbay-hub/src/meshbay_hub/static/video-app.js b/packages/meshbay-hub/src/meshbay_hub/static/video-app.js index d4ec01a..5f7e9ea 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/video-app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/video-app.js @@ -55,7 +55,7 @@ function yearOf(dateStr) { // Nothing shows until an operator has actually chosen a root in Settings // (§5.6/V-whatever this is now): the node itself runs no TMDB/thumbnail -// work for this group before that either (daemon.py's +// work for this group before that either (enrichment.py's // _enrich_new_video_entries), so falling back to "the whole index" here // would just show files nothing has enriched. function underVideoRoot(entry, directories) { -- cgit v1.2.3