Restore automatic video batch continuation and prepare stable Comfy loading
This commit is contained in:
+6
-6
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user