fix(ttsc): pause flag

This commit is contained in:
mitchell 2026-07-31 20:05:04 -04:00
parent 159547e799
commit 4c0e25ad33

View file

@ -139,7 +139,7 @@ async function main() {
stdin: "ignore", stdin: "ignore",
stdout: "inherit", stdout: "inherit",
stderr: "inherit", stderr: "inherit",
})`mpv${pausePlayer ? " --pause" : ""} ${file}`; })`mpv ${pausePlayer ? ["--pause"] : []} ${file}`;
} }
} }
@ -174,7 +174,7 @@ async function main() {
stdin: "ignore", stdin: "ignore",
stdout: "inherit", stdout: "inherit",
stderr: "inherit", stderr: "inherit",
})`mpv${pausePlayer ? " --pause" : ""} output.wav`; })`mpv ${pausePlayer ? ["--pause"] : []} output.wav`;
} }
main().catch(handleTopLevel); main().catch(handleTopLevel);