0.12.0-9 Fix Jobs
This commit is contained in:
1 parent
50d5fccd95
commit
a87ba330b1
11 files changed
+29
-17
No files matched your search
@@ -2968,7 +2968,7 @@ class HistoryService {
|
||||
`
|
||||
SELECT *
|
||||
FROM jobs
|
||||
WHERE status IN ('RIPPING', 'ENCODING', 'CD_ANALYZING', 'CD_RIPPING', 'CD_ENCODING')
|
||||
WHERE status IN ('ANALYZING', 'RIPPING', 'ENCODING', 'MEDIAINFO_CHECK', 'READY_TO_ENCODE', 'CD_ANALYZING', 'CD_READY_TO_RIP', 'CD_RIPPING', 'CD_ENCODING')
|
||||
ORDER BY updated_at ASC, id ASC
|
||||
`
|
||||
),
|
||||
|
||||
@@ -5065,10 +5065,12 @@ class PipelineService extends EventEmitter {
|
||||
'WAITING_FOR_USER_DECISION',
|
||||
'READY_TO_START',
|
||||
'MEDIAINFO_CHECK',
|
||||
'READY_TO_ENCODE',
|
||||
// READY_TO_ENCODE intentionally excluded: user has confirmed encoding,
|
||||
// a new analyze must not silently delete a queued encode job.
|
||||
'CD_ANALYZING',
|
||||
'CD_METADATA_SELECTION',
|
||||
'CD_READY_TO_RIP',
|
||||
// CD_READY_TO_RIP intentionally excluded: user has confirmed track
|
||||
// selection, a new analyze must not discard that.
|
||||
'ERROR',
|
||||
'CANCELLED'
|
||||
]);
|
||||
|
||||
Reference in new issue
Block a user