diag(premiere-plugin): v1.2.3 — file-log around importFiles call
Writes timestamped pre/post lines to C:/Temp/df-import-log.txt around the importFiles call so we can see whether importFiles hangs (only pre line present) or returns and evalScript callback gets lost (both lines present). Diagnostic only.
This commit is contained in:
parent
e3afe38697
commit
f5959620c8
2 changed files with 3 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
<ExtensionManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
ExtensionBundleId="net.wilddragon.dragonflight.panel"
|
||||
ExtensionBundleName="Wild Dragon MAM"
|
||||
ExtensionBundleVersion="1.2.2"
|
||||
ExtensionBundleVersion="1.2.3"
|
||||
Version="7.0">
|
||||
<ExtensionList>
|
||||
<Extension Id="net.wilddragon.dragonflight.panel" Version="1.0" />
|
||||
|
|
|
|||
|
|
@ -1988,7 +1988,9 @@ function importFileToPremiereProject(filePath) {
|
|||
' result.message = "File not found: ' + safePath + '";',
|
||||
' return JSON.stringify(result);',
|
||||
' }',
|
||||
' try { var __l = new File("C:/Temp/df-import-log.txt"); __l.open("a"); __l.writeln((new Date()).toString() + " pre-importFiles " + ' + safePath + '); __l.close(); } catch(_e){}',
|
||||
' app.project.importFiles(["' + safePath + '"], true);',
|
||||
' try { var __l2 = new File("C:/Temp/df-import-log.txt"); __l2.open("a"); __l2.writeln((new Date()).toString() + " post-importFiles RETURNED"); __l2.close(); } catch(_e){}',
|
||||
' result.success = true;',
|
||||
' result.message = "Imported successfully";',
|
||||
' } catch (e) {',
|
||||
|
|
|
|||
Loading…
Reference in a new issue