0.10.2-10 DVD Title Scan

This commit is contained in:
2026-03-16 11:05:38 +00:00
parent 38a82706ce
commit 901b8a0b61
14 changed files with 482 additions and 99 deletions
@@ -547,6 +547,23 @@ export default function JobDetailDialog({
: null;
const encodePlanUserPresetId = Number(encodePlanUserPreset?.id);
const reviewUserPresets = encodePlanUserPreset ? [encodePlanUserPreset] : [];
const encodePlanManualTrackSelection = job?.encodePlan?.manualTrackSelection
&& typeof job.encodePlan.manualTrackSelection === 'object'
? job.encodePlan.manualTrackSelection
: null;
const reviewTrackSelectionByTitle = encodePlanManualTrackSelection?.titleId != null
? {
[encodePlanManualTrackSelection.titleId]: {
audioTrackIds: Array.isArray(encodePlanManualTrackSelection.audioTrackIds)
? encodePlanManualTrackSelection.audioTrackIds
: [],
subtitleTrackIds: Array.isArray(encodePlanManualTrackSelection.subtitleTrackIds)
? encodePlanManualTrackSelection.subtitleTrackIds
: []
}
}
: {};
const reviewSelectedEncodeTitleId = job?.encodePlan?.encodeInputTitleId ?? null;
const executedHandBrakeCommand = buildExecutedHandBrakeCommand(job?.handbrakeInfo);
const canDownloadRaw = Boolean(job?.raw_path && job?.rawStatus?.exists && typeof onDownloadArchive === 'function');
const canDownloadOutput = Boolean(job?.output_path && job?.outputStatus?.exists && typeof onDownloadArchive === 'function');
@@ -846,6 +863,8 @@ export default function JobDetailDialog({
<MediaInfoReviewPanel
review={job.encodePlan}
commandOutputPath={job.output_path || null}
selectedEncodeTitleId={reviewSelectedEncodeTitleId}
trackSelectionByTitle={reviewTrackSelectionByTitle}
availableScripts={configuredSelection.scriptCatalog}
availableChains={configuredSelection.chainCatalog}
preEncodeItems={reviewPreEncodeItems}