fix(ttsc): pause flag
This commit is contained in:
parent
159547e799
commit
4c0e25ad33
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue