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-hub/src | |
| 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-hub/src')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/music-app.js | 2 | ||||
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/video-app.js | 2 |
2 files changed, 2 insertions, 2 deletions
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) { |