commit c69c866d2ada38422082d0a3affe84bc09909af6
parent bac4a4206ea5a8aa1a054feca6a09cf37623b4d9
Author: rob <rob@tarina.org>
Date: Wed, 14 Dec 2022 23:27:06 +0200
best
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tarinactrl.py b/tarinactrl.py
@@ -140,7 +140,7 @@ def main(serverstatus):
if p not in camerasoff:
if recording == None:
sendtocamera(cameras[0],port,'SYNCIP:'+p)
- time.sleep(1)
+ time.sleep(2)
elif event == "KEY_ENTER" and menu[selected]=='New SCENE':
a=0
for i in cameras:
@@ -166,8 +166,9 @@ def main(serverstatus):
recording=camselected
elif a == mastersound:
sendtocamera(i,port,'STOP')
- time.sleep(sleep)
- sendtocamera(i,port,'RECSOUND')
+ if recording !=None:
+ time.sleep(sleep)
+ sendtocamera(i,port,'RECSOUND')
else:
sendtocamera(i,port,'PLACEHOLDER')
a=a+1