0.12.0-4 DVD Plugin
This commit is contained in:
@@ -111,11 +111,12 @@ export function normalizePluginExecutionState(rawState) {
|
||||
export function resolveJobPluginExecution(job = null, liveContext = null, options = {}) {
|
||||
const liveExecution = normalizePluginExecutionState(liveContext?.pluginExecution);
|
||||
const makemkvExecution = normalizePluginExecutionState(job?.makemkvInfo?.pluginExecution);
|
||||
const mediainfoExecution = normalizePluginExecutionState(job?.mediainfoInfo?.pluginExecution);
|
||||
const handbrakeExecution = normalizePluginExecutionState(job?.handbrakeInfo?.pluginExecution);
|
||||
const jobExecution = normalizePluginExecutionState(job?.pluginExecution);
|
||||
|
||||
const expectedStage = inferExpectedPluginStage(options);
|
||||
const candidates = [liveExecution, makemkvExecution, handbrakeExecution, jobExecution].filter(Boolean);
|
||||
const candidates = [liveExecution, handbrakeExecution, mediainfoExecution, makemkvExecution, jobExecution].filter(Boolean);
|
||||
if (candidates.length === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user