Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: let a music-video render for an unknown scene proceed as before (#8977)

[._.]/ Adam Eivyb9c32af73690
diff --git a/server/services/musicVideo/performanceShot.js b/server/services/musicVideo/performanceShot.js
index d6f3a42a22..5e0dd4f2d6 100644
--- a/server/services/musicVideo/performanceShot.js
+++ b/server/services/musicVideo/performanceShot.js
@@ -90,7 +90,8 @@ export async function preparePerformanceShot({ musicVideo, backend, sourceImageP
if (!musicVideo?.projectId || !musicVideo?.sceneId) return null;
const project = await getProject(musicVideo.projectId);
const scene = project?.scenes?.find((s) => s.sceneId === musicVideo.sceneId);
- if (!project || !scene) throw refuse('Music-video project or scene not found', 'NOT_FOUND', 404);
+ // An unknown project/scene is not a performance shot; the render proceeds as
+ // before and the completion hook refuses to attach it to a deleted scene.
if (!isPerformanceScene(scene)) return null;
const capability = performanceCapability(backend);