kt-forpro-tools 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/slides.ts +2 -2
- package/src/tests/index.test.ts +10 -10
package/package.json
CHANGED
package/src/slides.ts
CHANGED
|
@@ -67,7 +67,7 @@ class KT_Slides {
|
|
|
67
67
|
this.slideMultiplier = slideMultiplier || this.slideMultiplier;
|
|
68
68
|
this.slideDistance = slideDistance || this.slideDistance;
|
|
69
69
|
this.initFolders();
|
|
70
|
-
const compExists = KT_Project.find.comps({ name: this.name });
|
|
70
|
+
const compExists = KT_Project.find.comps({ name: this.name + " Master" });
|
|
71
71
|
if (compExists && compExists.length > 0) {
|
|
72
72
|
this.masterComp = compExists[0] as CompItem;
|
|
73
73
|
return;
|
|
@@ -75,7 +75,7 @@ class KT_Slides {
|
|
|
75
75
|
this.masterComp =
|
|
76
76
|
comp ||
|
|
77
77
|
(KT_Project.add.comp({
|
|
78
|
-
name: this.name + "Master",
|
|
78
|
+
name: this.name + " Master",
|
|
79
79
|
width: this.width,
|
|
80
80
|
height: this.height,
|
|
81
81
|
duration: this.duration,
|
package/src/tests/index.test.ts
CHANGED
|
@@ -13,26 +13,26 @@ describe("KtForproTools Tests", () => {
|
|
|
13
13
|
// KT_ForproTools.utils.sendCleanupToMediaEncoder(["esp", "cat"]);
|
|
14
14
|
// KT_ForproTools.utils.sendLanguagesToMediaEncoder();
|
|
15
15
|
// KT_ForproTools.utils.sendCleanupToMediaEncoder();
|
|
16
|
-
KT_ForproTools.utils.autoPrecompAndKeyOut();
|
|
16
|
+
// KT_ForproTools.utils.autoPrecompAndKeyOut();
|
|
17
17
|
// const folder = Folder.selectDialog("Select a folder with language subfolders");
|
|
18
18
|
// $.writeln("Selected folder: " + folder?.fsName);
|
|
19
19
|
// KT_ForproTools.utils.precompAndKeyOut("cat");
|
|
20
20
|
// KT_ForproTools.utils.createCleanupStructure();
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
const slides = new KT_Slides({
|
|
23
|
+
name: "Test Slides",
|
|
24
|
+
duration: duration,
|
|
25
|
+
width: width,
|
|
26
|
+
height: height,
|
|
27
|
+
comp: app.project.activeItem as CompItem,
|
|
28
|
+
slideMultiplier: slideMultiplier,
|
|
29
|
+
});
|
|
30
30
|
|
|
31
31
|
// slides.cleanUp();
|
|
32
32
|
// slides.import();
|
|
33
33
|
// // slides.splitSlides();
|
|
34
34
|
// const startTime = new Date().getTime();
|
|
35
|
-
|
|
35
|
+
slides.batchSplitSlides();
|
|
36
36
|
// // slides.splitSlides();
|
|
37
37
|
|
|
38
38
|
// const endTime = new Date().getTime();
|