add video and fix filename for md
This commit is contained in:
1 parent
00033e0341
commit
2b47af46de
5 files changed
+1496
-2
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user