additional test for commands.txt and fix for correct path in the ffmpegExtractor module

This commit is contained in:
MikeHughes-BIN
2025-11-08 13:26:35 +01:00
parent 9902b0421e
commit cfa37b9f2f
2 changed files with 6 additions and 3 deletions
@@ -30,7 +30,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// Prepare output directory (always storage/audio under project root)
const outputDir = path.join(__dirname, '..', '..', 'storage', 'audio');
const outputDir = path.join(__dirname, '..', '..', '..', 'storage', 'audio');
if (!fs.existsSync(outputDir)) {
fs.mkdirSync(outputDir, { recursive: true });
}