From 7418d158fefe2e145006468f35c9fa0fed8c224c Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sun, 30 Jul 2023 12:00:47 -0600 Subject: [PATCH] allow recording on/off more than once --- src/kiss_tools/OBSTools.kiss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kiss_tools/OBSTools.kiss b/src/kiss_tools/OBSTools.kiss index 063c08e..125d707 100644 --- a/src/kiss_tools/OBSTools.kiss +++ b/src/kiss_tools/OBSTools.kiss @@ -45,5 +45,6 @@ ("Linux" (doFor id (reverse (.split (assertProcess "pgrep" ["obs"]) "\n")) (assertProcess "kill" [id]))) - (otherwise (throw "OBS executable not defined for $(Sys.systemName)")))))) + (otherwise (throw "OBS executable not defined for $(Sys.systemName)"))) + (set obsIsRecording false))))