Skip to content

Commit 06fb113

Browse files
committed
fix: batch 33 — 3 broken features + route improvements
Multicam (was completely broken from CEP): - Route now accepts "filepath" param — transcribes the file with Whisper to generate diarization segments on the fly when no pre-built segments or diarization_file provided - CEP multicam now works: sends filepath, route auto-transcribes UXP Full Report (was 404 — /project-report doesn't exist): - Replaced single non-existent endpoint call with sequential calls to all 4 deliverables endpoints (/deliverables/vfx-sheet, adr-list, music-cue-sheet, asset-list) - Fetches sequence info from UXP PProBridge when available Search Index folder support (UXP was broken — sent folder as file): - Route now accepts "folder" param alongside "files" - Scans folder for media files (.mp4/.mov/.avi/.mkv/.webm/.mp3/etc) - UXP sends folder param instead of wrapping in files array
1 parent e863ed6 commit 06fb113

19 files changed

Lines changed: 101 additions & 49 deletions

File tree

Install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ Write-Host " \___/| .__/ \___|_| |_|\____\__,_|\__|" -ForegroundColor Cyan
155155
Write-Host " |_| " -ForegroundColor Cyan
156156
Write-Host ""
157157
Write-Host " Open Source Video Editing Automation" -ForegroundColor DarkGray
158-
Write-Host " Installer v1.5.4" -ForegroundColor DarkGray
158+
Write-Host " Installer v1.5.5" -ForegroundColor DarkGray
159159

160160
$isAdmin = Test-IsAdmin
161161
if ($isAdmin) {

OpenCut.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; Fully self-contained installer — bundles server exe, ffmpeg, and CEP extension
33

44
#define MyAppName "OpenCut"
5-
#define MyAppVersion "1.5.4"
5+
#define MyAppVersion "1.5.5"
66
#define MyAppPublisher "SysAdminDoc"
77
#define MyAppURL "https://github.com/SysAdminDoc/OpenCut"
88

extension/com.opencut.panel/CSXS/manifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
Version="7.0"
44
ExtensionBundleId="com.opencut.panel"
5-
ExtensionBundleVersion="1.5.4"
5+
ExtensionBundleVersion="1.5.5"
66
ExtensionBundleName="OpenCut">
77

88
<ExtensionList>
9-
<Extension Id="com.opencut.panel.main" Version="1.5.4" />
9+
<Extension Id="com.opencut.panel.main" Version="1.5.5" />
1010
</ExtensionList>
1111

1212
<ExecutionEnvironment>

extension/com.opencut.panel/client/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2943,7 +2943,7 @@ <h1 class="content-title" id="contentTitle">Cut & Clean</h1>
29432943
<div class="card-header"><div class="card-title">About OpenCut</div></div>
29442944
<div class="settings-row">
29452945
<span class="settings-label">Version</span>
2946-
<span class="settings-value">1.5.4</span>
2946+
<span class="settings-value">1.5.5</span>
29472947
</div>
29482948
<div class="about-links">
29492949
<a href="https://github.com/SysAdminDoc/opencut" class="about-link" target="_blank">GitHub</a>

extension/com.opencut.panel/client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ============================================================
2-
OpenCut CEP Panel - Main Controller v1.5.4
2+
OpenCut CEP Panel - Main Controller v1.5.5
33
6-Tab Professional Toolkit
44
============================================================ */
55
(function () {

extension/com.opencut.panel/client/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ============================================================
2-
OpenCut CEP Panel v1.5.4 - ULTRA PREMIUM EDITION
2+
OpenCut CEP Panel v1.5.5 - ULTRA PREMIUM EDITION
33
Next-Generation AI Editing Suite for Adobe Premiere Pro
44
============================================================ */
55

extension/com.opencut.uxp/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<path d="M4 2.5a3 3 0 00-1.76 5.43L7.33 11l-5.09 3.07A3 3 0 104.8 19.5a3 3 0 001.76-5.43L8.93 12.6 16.5 17V5L8.93 9.4 6.56 7.93A3 3 0 004 2.5z" fill="var(--accent)"/>
1717
</svg>
1818
<span class="oc-logo">OpenCut</span>
19-
<span class="oc-version">v1.5.4</span>
19+
<span class="oc-version">v1.5.5</span>
2020
</div>
2121
<div class="oc-header-right">
2222
<div class="oc-connection" id="connectionStatus" title="Backend connection status">

extension/com.opencut.uxp/main.js

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const BACKEND_DEFAULT = "http://127.0.0.1:5679";
2323
const BACKEND_MAX_PORT = 5689;
2424
const POLL_INTERVAL_MS = 1200;
2525
const HEALTH_CHECK_MS = 8000;
26-
const VERSION = "1.5.4";
26+
const VERSION = "1.5.5";
2727

2828
async function detectBackend() {
2929
// Try ports 5679-5689 like CEP panel does
@@ -1136,7 +1136,7 @@ async function runIndexLibrary() {
11361136

11371137
await JobPoller.start(
11381138
"/search/index",
1139-
{ files: [folder], model: "base" },
1139+
{ folder, model: "base" },
11401140
(pct, msg) => {
11411141
UIController.setProgress(pct);
11421142
UIController.setProcessingMsg(msg || "Scanning...");
@@ -1321,36 +1321,39 @@ async function runDeliverables(type) {
13211321
);
13221322
}
13231323

1324-
/** ── FULL PROJECT REPORT ── */
1324+
/** ── FULL PROJECT REPORT (generates all 4 deliverables) ── */
13251325
async function runFullReport() {
13261326
const outputDir = document.getElementById("delivOutputDir")?.value?.trim();
1327-
const format = document.getElementById("reportFormat")?.value ?? "csv";
1328-
const include = {
1329-
vfx: document.getElementById("rptIncludeVfx")?.checked ?? true,
1330-
adr: document.getElementById("rptIncludeAdr")?.checked ?? true,
1331-
music: document.getElementById("rptIncludeMusic")?.checked ?? true,
1332-
assets: document.getElementById("rptIncludeAssets")?.checked ?? true,
1333-
};
1327+
const types = ["vfx-sheet", "adr-list", "music-cue-sheet", "asset-list"];
1328+
const seqData = { video_tracks: [], audio_tracks: [] };
1329+
1330+
// Try to get real sequence data from UXP bridge
1331+
if (PProBridge.available()) {
1332+
const info = await PProBridge.getSequenceInfo();
1333+
if (info) Object.assign(seqData, info);
1334+
}
13341335

13351336
UIController.setButtonLoading("runFullReportBtn", true);
13361337
UIController.showProcessing("Generating full project report...");
13371338

1338-
await JobPoller.start(
1339-
"/project-report",
1340-
{ output_dir: outputDir || null, format, include },
1341-
(pct, msg) => { UIController.setProgress(pct); UIController.setProcessingMsg(msg || "Building report..."); },
1342-
(result) => {
1343-
UIController.hideProcessing();
1344-
UIController.setButtonLoading("runFullReportBtn", false);
1345-
UIController.showToast(`Report saved: ${result.output_path ?? "done"}`, "success");
1346-
UIController.setStatus("Report generated.");
1347-
},
1348-
(err) => {
1349-
UIController.hideProcessing();
1350-
UIController.setButtonLoading("runFullReportBtn", false);
1351-
UIController.showToast(`Report error: ${err}`, "error");
1352-
}
1353-
);
1339+
let generated = 0;
1340+
let errors = 0;
1341+
for (const type of types) {
1342+
const r = await BackendClient.post(`/deliverables/${type}`, {
1343+
sequence_data: seqData,
1344+
output_dir: outputDir || null,
1345+
});
1346+
if (r.ok) generated++; else errors++;
1347+
}
1348+
1349+
UIController.hideProcessing();
1350+
UIController.setButtonLoading("runFullReportBtn", false);
1351+
if (errors === 0) {
1352+
UIController.showToast(`Generated ${generated} deliverable document(s).`, "success");
1353+
} else {
1354+
UIController.showToast(`Generated ${generated}, failed ${errors}.`, "warning");
1355+
}
1356+
UIController.setStatus(`Report: ${generated} docs generated.`);
13541357
}
13551358

13561359
// ─────────────────────────────────────────────────────────────

extension/com.opencut.uxp/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "com.opencut.uxp",
33
"name": "OpenCut UXP",
4-
"version": "1.5.4",
4+
"version": "1.5.5",
55
"main": "index.html",
66
"host": [
77
{

install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import subprocess
1111
import platform
1212

13-
VERS = "1.5.4"
13+
VERS = "1.5.5"
1414
CEP_EXT = "com.opencut.panel"
1515
WIN_CEP_DIR = os.path.expandvars(r"%APPDATA%\Adobe\CEP\extensions")
1616
MAC_CEP_DIR = os.path.expanduser("~/Library/Application Support/Adobe/CEP/extensions")

0 commit comments

Comments
 (0)