Group extension chains in the library and add shot-script queues.

Keep every saved segment, show the longest clip with an expand list, branch on extend, and parse shot 2/3 blocks into a shared-duration queue with live part status.
This commit is contained in:
2026-08-26 08:03:41 -05:00
parent d78c3fee7d
commit db8c9aabba
9 changed files with 375 additions and 89 deletions
+7 -1
View File
@@ -22,6 +22,9 @@ export interface PendingJob {
imageSubfolder?: string
extendTmpDir?: string
extendPart1Path?: string
familyId?: string
parentClipId?: string
chainIndex?: number
}
function pendingRoot() {
@@ -102,7 +105,10 @@ export async function completePendingIfReady(pending: PendingJob) {
hideThumbnail: pending.hideThumbnail,
video: buffer,
thumb: null,
comfyFilename: video.filename
comfyFilename: video.filename,
familyId: pending.familyId,
parentClipId: pending.parentClipId,
chainIndex: pending.chainIndex
})
await purgeComfyArtifacts({ video, imageName: pending.imageName, imageSubfolder: pending.imageSubfolder, promptId: pending.promptId })
deletePendingJob(pending.jobId)