@lee-jisoo/n8n-nodes-mediafx 1.6.10 → 1.6.12
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.
|
@@ -309,6 +309,10 @@ class MediaFX {
|
|
|
309
309
|
size: this.getNodeParameter('size', i, 48),
|
|
310
310
|
color: this.getNodeParameter('color', i, 'white'),
|
|
311
311
|
outlineWidth: this.getNodeParameter('outlineWidth', i, 1),
|
|
312
|
+
outlineColor: this.getNodeParameter('outlineColor', i, 'black'),
|
|
313
|
+
enableBackground: this.getNodeParameter('enableBackground', i, false),
|
|
314
|
+
backgroundColor: this.getNodeParameter('backgroundColor', i, 'black'),
|
|
315
|
+
backgroundOpacity: this.getNodeParameter('backgroundOpacity', i, 0.5),
|
|
312
316
|
positionType: this.getNodeParameter('positionType', i, 'alignment'),
|
|
313
317
|
horizontalAlign: this.getNodeParameter('horizontalAlign', i, 'center'),
|
|
314
318
|
verticalAlign: this.getNodeParameter('verticalAlign', i, 'bottom'),
|
|
@@ -229,6 +229,8 @@ async function executeAddSubtitle(video, subtitleFile, style, itemIndex) {
|
|
|
229
229
|
await fs.writeFile(tempAssFile, assContent, 'utf-8');
|
|
230
230
|
finalSubtitlePath = tempAssFile;
|
|
231
231
|
// Debug: log ASS content for troubleshooting
|
|
232
|
+
console.log('[MediaFX] enableBackground:', enableBackground, 'type:', typeof enableBackground);
|
|
233
|
+
console.log('[MediaFX] style.enableBackground raw:', style.enableBackground);
|
|
232
234
|
console.log('[MediaFX] Generated ASS file:', tempAssFile);
|
|
233
235
|
console.log('[MediaFX] ASS Style line:', assContent.split('\n').find(line => line.startsWith('Style:')));
|
|
234
236
|
}
|
package/package.json
CHANGED