add archive

This commit is contained in:
jaehwang committed 2026-09-09 09:19:22 +09:00
1 parent 2c13e75a92
commit 7a667d8a5f
5 files changed
+119 -12

No files matched your search

+1 -1
View File
@@ -240,7 +240,7 @@ async def run_compose(session: AsyncSession, task: PlayreelTask) -> None:
result = await asyncio.to_thread(
compose_longcut, poster, clip, timeline, narration, sections, band_info(meta),
bgm_mp3=bgm, qr=Image.open(qr_path) if qr_path.exists() else None)
bgm_mp3=bgm, qr=Image.open(qr_path) if qr_path.exists() else None, preview=True)
filename = f"{task.slug}_30_v{task.version + 1}.mp4"
task.video_url = await store_bytes(PIPELINE, task.id, filename, result.video,