commit 607fa5ba8ca10d67978fa1e83caaa3acbebf3420
parent d4df262fb42e2b4715ec777f012fdcedf4b6aca5
Author: rbckman <rob@tarina.org>
Date: Tue, 10 Jan 2023 01:55:48 +0200
jee
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/tarinactrl.py b/tarinactrl.py
@@ -227,10 +227,11 @@ def main(serverstatus):
sendtocamera(c,port,'STOP')
time.sleep(sleep)
sendtocamera(c,port,'RECSOUND')
- sendtocamera(c,port,'STOP')
- time.sleep(sleep)
- sendtocamera(c,port,'PLACEHOLDER')
- a=a+1
+ else:
+ sendtocamera(c,port,'STOP')
+ time.sleep(sleep)
+ sendtocamera(c,port,'PLACEHOLDER')
+ a=a+1
camselected=newselected
printmenu(recording,selected,cameras,camselected,serverstatus,rectime)
return serverstatus