tarinactrl

git clone https://git.tarina.org/tarinactrl
Log | Files | Refs

commit 30efae43c9cd85ab95da2c605d6578ecb8bc1b45
parent 637180ae5d4c9aa2d5baaa7857007bbe4a540b2b
Author: rob <rob@tarina.org>
Date:   Wed, 25 Jan 2023 11:19:34 +0200

recsound

Diffstat:
Mtarinactrl.py | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tarinactrl.py b/tarinactrl.py @@ -191,7 +191,10 @@ def main(serverstatus): recording=camselected rectime=time.time() elif a == mastersound: - sendtocamera(i,port,'STOP') + if recording == a: + sendtocamera(i,port,'STOP') + else: + sendtocamera(i,port,'RECSOUND') #if recording != mastersound: # time.sleep(sleep) # sendtocamera(i,port,'RECSOUND')