From 7306278ccd2300fb6f7a4aac0c129f2f47a5167e Mon Sep 17 00:00:00 2001 From: Maxed-Out-99 Date: Fri, 10 Jul 2026 06:47:04 -0700 Subject: [PATCH] Fix stale path references in comments after the restructure Co-Authored-By: Claude Fable 5 --- nodes/ltx/preview.py | 2 +- system/live_preview.py | 4 ++-- web/nodes/combine_materials_ffgo.js | 2 +- web/nodes/live_preview_panel.js | 2 +- web/nodes/model_storage_settings.js | 2 +- web/nodes/video_preview.js | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nodes/ltx/preview.py b/nodes/ltx/preview.py index fbaf1ba..a087e74 100644 --- a/nodes/ltx/preview.py +++ b/nodes/ltx/preview.py @@ -10,7 +10,7 @@ The taeltx model is auto-discovered in the vae / vae_approx model folders. If it isn't found, it is downloaded to the configured vae model folder. Sends MXD_live_preview_start / MXD_live_preview_frame / MXD_live_preview_saved -websocket events consumed by web/live_preview_panel_mxd.js. Final clips are +websocket events consumed by web/nodes/live_preview_panel.js. Final clips are saved to /live_previews. TAE decode path borrowed from kjnodes / VideoHelperSuite. diff --git a/system/live_preview.py b/system/live_preview.py index fa58251..a9363c5 100644 --- a/system/live_preview.py +++ b/system/live_preview.py @@ -11,11 +11,11 @@ JSON, base64-encoded JPEG frames) -- deliberately NOT the `VHS_latentpreview` / default single-image preview both also listen on. Sharing that channel turned out to be unreliable: whichever of us/VHS/core happened to register its listener first could swallow the event before the others saw it, so the -frontend panel (web/live_preview_panel_mxd.js) would sometimes just never +frontend panel (web/nodes/live_preview_panel.js) would sometimes just never render. A fully private channel has no such collision risk. Enabled per-run via the `MXD_latentpreview` flag in the workflow's -extra_pnginfo, set by web/video_preview_mxd.js. +extra_pnginfo, set by web/nodes/video_preview.js. Also patches `latent_preview.prepare_callback` to save the final frame batch of any run with this preview enabled to diff --git a/web/nodes/combine_materials_ffgo.js b/web/nodes/combine_materials_ffgo.js index 7dd6e95..f5dc668 100644 --- a/web/nodes/combine_materials_ffgo.js +++ b/web/nodes/combine_materials_ffgo.js @@ -4,7 +4,7 @@ import { app } from "../../../scripts/app.js"; // way reference/conditioning-image nodes reveal a new empty slot once the // current last one is plugged in. Backend declares foreground_1 (required) // plus foreground_2..foreground_6 (optional) as individual IMAGE sockets (see -// MAX_FOREGROUNDS in combine_materials_ffgo_mxd.py) so arbitrarily-sized RGBA +// MAX_FOREGROUNDS in nodes/ffgo.py) so arbitrarily-sized RGBA // cutouts never have to be batched into one uniform IMAGE tensor. // // MAX_FOREGROUNDS must stay in sync with the Python-side constant — it's a diff --git a/web/nodes/live_preview_panel.js b/web/nodes/live_preview_panel.js index 02e6c99..b114981 100644 --- a/web/nodes/live_preview_panel.js +++ b/web/nodes/live_preview_panel.js @@ -11,7 +11,7 @@ import { api } from "../../../scripts/api.js"; // freely draggable (grab the header) and resizable (grab any edge/corner), // with both position/size and collapsed state remembered across reloads. // -// Backend (video_preview_mxd.py / ltxnodes.py) streams frames over its own +// Backend (system/live_preview.py / nodes/ltx/preview.py) streams frames over its own // private MXD_live_preview_start / MXD_live_preview_frame websocket events // (plain JSON, base64 JPEG -- not the shared VHS_latentpreview/b_preview // channel, which turned out to be an unreliable place to listen: whichever diff --git a/web/nodes/model_storage_settings.js b/web/nodes/model_storage_settings.js index 6dcf949..90d5611 100644 --- a/web/nodes/model_storage_settings.js +++ b/web/nodes/model_storage_settings.js @@ -4,7 +4,7 @@ import { app } from "../../../scripts/app.js"; // alternative to MAXEDOUT_MODEL_STORAGE / model_storage_config.json for // people who'd rather not touch a config file. Purely a convenience UI -- // the actual registration happens at import time in -// model_paths_autoregister_mxd.py, which reads this setting back out of +// system/model_paths.py, which reads this setting back out of // user/default/comfy.settings.json, so a change here only takes effect // after restarting the ComfyUI server. app.registerExtension({ diff --git a/web/nodes/video_preview.js b/web/nodes/video_preview.js index 29392a2..f6cea99 100644 --- a/web/nodes/video_preview.js +++ b/web/nodes/video_preview.js @@ -1,12 +1,12 @@ import { app } from "../../../scripts/app.js"; // Adds a global "preview any sampler as it renders" toggle, backed by -// video_preview_mxd.py's general get_previewer hook. Writes its own +// system/live_preview.py's general get_previewer hook. Writes its own // MXD_latentpreview / MXD_latentpreviewrate workflow-extra keys, deliberately // separate from VHS's own VHS_latentpreview/VHS_latentpreviewrate keys, so // this toggle and VideoHelperSuite's identically-named setting don't fight // over the same flag -- each hook only wraps the previewer when ITS OWN flag -// is on. The actual rendering (web/live_preview_panel_mxd.js) is a global +// is on. The actual rendering (web/nodes/live_preview_panel.js) is a global // floating panel, not a per-node widget, so it isn't affected by which // workflow tab is open. app.registerExtension({