Skip to content

Commit 64cee9a

Browse files
committed
fix: batch 30 — 7 broken CEP features, on_progress crashes, queue gaps
CEP panel parameter mismatches (7 features completely broken): - beat-markers, repeat-detect, chapters, NLP command: sent "filepath" but new routes read "file" — routes now accept both via fallback - loudness-match, search/index: sent "filepaths" but routes read "files" — frontend fixed to send "files" - footage search: sent "max_results" but route reads "top_k" — fixed - loudness result table: read "r.clips" but API returns "outputs" — fixed to read "r.outputs" with field name compat on_progress callback signature crash (all 48 route callbacks): - Core modules (color_match, auto_zoom, loudness_match) call on_progress(int) with 1 arg, but route callbacks defined as _on_progress(pct, msg) requiring 2 args — TypeError crash - Fixed msg default: _on_progress(pct, msg="") across all 48 callback definitions in video.py, audio.py, captions.py Queue allowlist: - 9 new v1.5.0 routes missing from _ALLOWED_QUEUE_ENDPOINTS: beat-markers, loudness-match, chapters, repeat-detect, color-match, auto-zoom, multicam-cuts, export-from-markers, search/index Command palette: - "Color Match" pointed to non-existent tl-colormatch → vid-color - "Auto Zoom" pointed to non-existent tl-autozoom → vid-effects Dependencies dashboard: - multicam missing from /system/dependencies response
1 parent 402de86 commit 64cee9a

23 files changed

Lines changed: 93 additions & 84 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.1" -ForegroundColor DarkGray
158+
Write-Host " Installer v1.5.2" -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.1"
5+
#define MyAppVersion "1.5.2"
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.1"
5+
ExtensionBundleVersion="1.5.2"
66
ExtensionBundleName="OpenCut">
77

88
<ExtensionList>
9-
<Extension Id="com.opencut.panel.main" Version="1.5.1" />
9+
<Extension Id="com.opencut.panel.main" Version="1.5.2" />
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.1</span>
2946+
<span class="settings-value">1.5.2</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: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* ============================================================
2-
OpenCut CEP Panel - Main Controller v1.5.1
2+
OpenCut CEP Panel - Main Controller v1.5.2
33
6-Tab Professional Toolkit
44
============================================================ */
55
(function () {
@@ -5162,10 +5162,10 @@
51625162
{ name: "Repeat Detection", tab: "captions", sub: "cap-repeat", keywords: "repeat detect loop fumble duplicate take" },
51635163
{ name: "Chapter Generation", tab: "captions", sub: "cap-chapters", keywords: "chapters youtube timestamps sections topics" },
51645164
{ name: "Footage Search", tab: "nlp", sub: "nlp-search", keywords: "search footage clips index content find" },
5165-
{ name: "Color Match", tab: "timeline", sub: "tl-colormatch", keywords: "color match grade balance reference clip" },
5165+
{ name: "Color Match", tab: "video", sub: "vid-color", keywords: "color match grade balance reference clip" },
51665166
{ name: "Multicam Switcher", tab: "timeline", sub: "tl-multicam", keywords: "multicam speaker podcast camera switch diarize" },
51675167
{ name: "Loudness Match", tab: "audio", sub: "aud-loudmatch", keywords: "loudness lufs normalize match audio levels" },
5168-
{ name: "Auto Zoom", tab: "timeline", sub: "tl-autozoom", keywords: "auto zoom push in ken burns face zoom" },
5168+
{ name: "Auto Zoom", tab: "video", sub: "vid-effects", keywords: "auto zoom push in ken burns face zoom" },
51695169
{ name: "AI Command", tab: "nlp", sub: "nlp-command", keywords: "nlp ai command natural language instruction" },
51705170
{ name: "Deliverables", tab: "export", sub: "exp-deliverables", keywords: "deliverables vfx adr music cue sheet asset list" },
51715171
];
@@ -6112,7 +6112,7 @@
61126112
if (!paths.length) { showAlert("No project media found."); return; }
61136113
var outDir = (document.getElementById("loudMatchOutputDir") || {}).value || projectFolder;
61146114
startJob("/audio/loudness-match", {
6115-
filepaths: paths,
6115+
files: paths,
61166116
target_lufs: parseFloat(document.getElementById("loudMatchTarget").value || "-14"),
61176117
output_dir: outDir,
61186118
});
@@ -6124,15 +6124,16 @@
61246124
var res = document.getElementById("loudMatchResults");
61256125
var table = document.getElementById("loudMatchTable");
61266126
if (res) res.classList.remove("hidden");
6127-
if (table && r.clips) {
6127+
var outputs = r.outputs || r.clips || [];
6128+
if (table && outputs.length) {
61286129
var html = '<table style="width:100%;font-size:11px;border-collapse:collapse;">'
61296130
+ '<tr><th style="text-align:left;padding:2px 4px;">Clip</th><th>Original LUFS</th><th>Status</th></tr>';
6130-
for (var i = 0; i < r.clips.length; i++) {
6131-
var c = r.clips[i];
6132-
var name = (c.path || c.name || "").split(/[/\\]/).pop();
6131+
for (var i = 0; i < outputs.length; i++) {
6132+
var c = outputs[i];
6133+
var name = (c.input || c.path || c.name || "").split(/[/\\]/).pop();
61336134
html += '<tr><td style="padding:2px 4px;">' + esc(name) + '</td>'
61346135
+ '<td style="text-align:center;">' + safeFixed(c.original_lufs, 1) + '</td>'
6135-
+ '<td style="text-align:center;color:' + (c.success ? 'var(--success)' : 'var(--error)') + ';">' + (c.success ? "OK" : "Failed") + '</td></tr>';
6136+
+ '<td style="text-align:center;color:' + (c.job_ok || c.success ? 'var(--success)' : 'var(--error)') + ';">' + (c.job_ok || c.success ? "OK" : "Failed") + '</td></tr>';
61366137
}
61376138
html += '</table>';
61386139
table.innerHTML = html;
@@ -6182,7 +6183,7 @@
61826183
if (!paths.length) { showAlert("No project media found."); return; }
61836184
var btn = document.getElementById("indexAllClipsBtn");
61846185
if (btn) { btn.disabled = true; btn.textContent = "Indexing..."; }
6185-
api("POST", "/search/index", { filepaths: paths }, function (err, data) {
6186+
api("POST", "/search/index", { files: paths }, function (err, data) {
61866187
if (btn) { btn.disabled = false; btn.textContent = "Index All Project Clips"; }
61876188
if (err || (data && data.error)) { showAlert("Indexing failed: " + (data ? data.error : "Network error")); return; }
61886189
footageIndex = data;
@@ -6196,7 +6197,7 @@
61966197
var query = (document.getElementById("footageSearchQuery") || {}).value || "";
61976198
if (!query) { showAlert("Enter a search query."); return; }
61986199
var maxResults = parseInt((document.getElementById("footageSearchMax") || {}).value || "10");
6199-
api("POST", "/search/footage", { query: query, max_results: maxResults }, function (err, data) {
6200+
api("POST", "/search/footage", { query: query, top_k: maxResults }, function (err, data) {
62006201
var res = document.getElementById("footageSearchResults");
62016202
if (!res) return;
62026203
if (err || !data) { res.innerHTML = '<div class="hint">Search failed.</div>'; return; }

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.1 - ULTRA PREMIUM EDITION
2+
OpenCut CEP Panel v1.5.2 - 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.1</span>
19+
<span class="oc-version">v1.5.2</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: 1 addition & 1 deletion
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.1";
26+
const VERSION = "1.5.2";
2727

2828
async function detectBackend() {
2929
// Try ports 5679-5689 like CEP panel does

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.1",
4+
"version": "1.5.2",
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.1"
13+
VERS = "1.5.2"
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)