add video and fix filename for md

This commit is contained in:
polv committed 2026-02-01 19:37:08 +07:00
1 parent 00033e0341
commit 2b47af46de
5 files changed
+1496 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ wss.on('connection', (ws) => {
const { q, duration } = payload;
console.log(`Start ${q}`)
const q_stem = q.replace(/\.[a-z0-9]+$/, "").replace(/\[.+?\]/g, '').trim();
const q_stem = q.replace(/\.[a-z0-9]+$/, "").replace(/\[.+?\]/g, '').replace(/\s+/g, '_').trim();
try {
mkdirSync(joinPath(ROOT_DIR, q_stem));