commit 887661b33c442a3e41389080f4dda66e2042e413
parent 8e9cce07aa531f88dbfc7e3bf5fdffd6cbd9cfb3
Author: rob <rob@tarina.org>
Date: Mon, 11 Sep 2023 17:22:08 +0100
remove and sync scenes in socket mode
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -861,13 +861,18 @@ def main():
sendtocamera(i,port,'PLACEHOLDER')
a=a+1
elif pressed == "remove" and menu[selected]=='SCENE:':
+ a=0
for i in cameras:
if a!=0:
sendtocamera(i,port,'REMOVE:'+str(scene))
+ a=a+1
elif pressed == "up" and menu[selected]=='SCENE:':
+ a=0
for i in cameras:
if a!=0:
sendtocamera(i,port,'SCENE:'+str(scene))
+
+ a=a+1
elif event == "0":
newselected = 0
elif event == "1":