commit 5377cb31a3e87431dcead4aa0c505f54bf05e6fe
parent 7f414bf29ed0b75b5bf2026d2f9b479dd7acaf75
Author: rob <rob@tarina.org>
Date: Mon, 11 Sep 2023 17:45:55 +0100
scene select through sockets
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -870,8 +870,13 @@ def main():
a=0
for i in cameras:
if a!=0:
- sendtocamera(i,port,'SCENE:'+str(scene))
-
+ sendtocamera(i,port,'SCENE:'+str(scene+1))
+ a=a+1
+ elif pressed == "down" and menu[selected]=='SCENE:':
+ a=0
+ for i in cameras:
+ if a!=0:
+ sendtocamera(i,port,'SCENE:'+str(scene-1))
a=a+1
elif event == "0":
newselected = 0