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

Stop the film look dimming the storyboard frames under the lyrics

Claude1a8e16c858ac
diff --git a/server/services/musicVideo/lyricPlaythrough.js b/server/services/musicVideo/lyricPlaythrough.js
index d4e67157a7..f35b77a663 100644
--- a/server/services/musicVideo/lyricPlaythrough.js
+++ b/server/services/musicVideo/lyricPlaythrough.js
@@ -80,7 +80,9 @@ export async function buildLyricPlaythroughPreview(project, { overlay = false }
}
const shots = timedShots(project.scenes);
const scenes = shots.length ? shots : lyricScenes(cues, project.lyricMarkers, durationSec);
- // Only the song and the words: no composition, overlay text or narrative events of the project's own.
- const playthrough = { ...project, scenes, composition: { mode: 'document', textCues: [] } };
+ // Only the song and the words: no composition, overlay text, narrative events or film look of the
+ // project's own. The look would filter the whole page, and on the transparent overlay that dims the
+ // storyboard frames under the words.
+ const playthrough = { ...project, scenes, composition: { mode: 'document', textCues: [] }, filmLook: null };
return buildDocumentPreview(playthrough, { files: overlay ? await readLyricOverlayDocumentFiles() : await readTemplateDocumentFiles('layered') });
}
diff --git a/server/services/musicVideo/lyricPlaythrough.test.js b/server/services/musicVideo/lyricPlaythrough.test.js
index bc509ca17c..7ea4bce2c5 100644
--- a/server/services/musicVideo/lyricPlaythrough.test.js
+++ b/server/services/musicVideo/lyricPlaythrough.test.js
@@ -81,7 +81,8 @@ describe('lyric timing playthrough', () => {
it('draws the same words alone on a transparent page for the storyboard animatic', async () => {
const scenes = [{ sceneId: 's1', order: 0, label: 'Wide', startSec: 0, endSec: 30, textZone: 'upper-right', referenceImageId: 'frame.png' }];
- const preview = await buildLyricPlaythroughPreview({ ...project, scenes }, { overlay: true });
+ const filmLook = { preset: 'vhs', enabled: true };
+ const preview = await buildLyricPlaythroughPreview({ ...project, scenes, filmLook }, { overlay: true });
const data = portosData(preview.html);
expect(data.lyrics.map((line) => line.text)).toEqual(['hello there', 'second line']);
expect(data.scenes.map(({ sceneId, textZone, media }) => [sceneId, textZone, media])).toEqual([['s1', 'upper-right', null]]);
@@ -89,5 +90,7 @@ describe('lyric timing playthrough', () => {
expect(preview.html).toMatch(/background: transparent/);
expect(preview.html).not.toContain('Layered music-video composition');
expect(preview.assets).toEqual([]);
+ // The project's film look would filter (and dim) the whole transparent page.
+ expect(preview.html).toContain('let look = null;');
});
});