summaryrefslogtreecommitdiffstats
path: root/ShowRunner.py
diff options
context:
space:
mode:
Diffstat (limited to 'ShowRunner.py')
-rw-r--r--ShowRunner.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/ShowRunner.py b/ShowRunner.py
new file mode 100644
index 0000000..5a43a99
--- /dev/null
+++ b/ShowRunner.py
@@ -0,0 +1,16 @@
+from bridge import Bridge
+from fish_show import FishShow
+from constants import *
+
+import sys
+sys.path.append('webapp')
+from run import server_thread, send_queue, recv_queue
+
+def run_show():
+ server_thread.start()
+ bridge = Bridge()
+ show = FishShow(bridge, send_queue=recv_queue, recv_queue=send_queue)
+ #show = SunriseShow(bridge)
+ show.run(framerate=FRAME_RATE)
+
+run_show() \ No newline at end of file