Restore automatic video batch continuation and prepare stable Comfy loading

This commit is contained in:
Towsty
2026-09-09 06:58:35 -05:00
parent 4bf992210d
commit badf59d914
10 changed files with 83 additions and 21 deletions
+6 -6
View File
@@ -94,7 +94,7 @@
:disabled="Boolean(busyId)"
@click="cutIn(job)"
>
{{ job.cutIn ? 'Next after current shot' : (canCutIn ? 'Run next' : 'Start now') }}
{{ job.cutIn ? 'Next after current shot' : (canCutIn ? 'Prioritize batch' : 'Start batch') }}
</button>
<button
v-if="job.status === 'error'"
@@ -712,7 +712,7 @@ function jobLine(job: StudioJobRow) {
function continueLabel(queue: Queue) {
const next = nextSegment(queue)
if (!next) return 'Process next'
return `Continue shot ${next.index + 1}`
return `Run only shot ${next.index + 1}`
}
function segmentCaption(queue: Queue, segment: Segment) {
@@ -1134,11 +1134,11 @@ function queueIsArmed(queue: Queue) {
}
function canProcessShots(job: StudioJobRow) {
return Boolean(job.shots) && !jobIsGenerating(job) && !jobIsHeldPaused(job)
return Boolean(job.shots) && !jobIsGenerating(job)
}
function canProcessQueue(queue: Queue) {
return queue.status !== 'running' && !queueIsHeldPaused(queue)
return queue.status !== 'running'
}
function canPauseJob(job: StudioJobRow) {
@@ -1151,7 +1151,7 @@ function jobIsArmed(job: StudioJobRow) {
function jobPauseLabel(job: StudioJobRow) {
if (jobIsLatched(job)) return 'Will pause after this'
if (jobIsHeldPaused(job)) return 'Paused'
if (jobIsHeldPaused(job)) return 'Resume remaining'
return 'Pause after this'
}
@@ -1163,7 +1163,7 @@ function jobPauseTitle(job: StudioJobRow) {
function queuePauseLabel(queue: Queue) {
if (queueIsLatched(queue)) return 'Will pause after this'
if (queueIsHeldPaused(queue)) return 'Paused'
if (queueIsHeldPaused(queue)) return 'Resume remaining'
return 'Pause after this'
}