commit de6cf9767831485e8653cb2c5397bcdbdc54b9c1
parent ef90a13d71d27a6319fea7f7fc1a1bcce71c14fb
Author: rbckman <rob@tarina.org>
Date: Fri, 10 May 2024 14:23:13 +0100
REC record_now
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/VERSION b/VERSION
@@ -1,2 +1,2 @@
-1.54
+1.55
Jackson
diff --git a/gonzopi.py b/gonzopi.py
@@ -4956,6 +4956,8 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton):
pressed="middle"
elif nextstatus=="DELETE":
pressed="remove"
+ elif nextstatus=="RECORD":
+ pressed="record"
elif nextstatus=="REC":
pressed="record_now"
elif nextstatus=="STOP":
diff --git a/srv/gonzopiserver.py b/srv/gonzopiserver.py
@@ -341,7 +341,7 @@ class api:
def GET(self):
i=web.input(func=None,selected=None)
if i.func == 'record':
- sendtocamera(ip,port,'REC')
+ sendtocamera(ip,port,'RECORD')
elif i.func == 'retake':
print('retake')
elif i.func == 'up':