summaryrefslogtreecommitdiffstats
path: root/ShowRunner.py
blob: 5a43a99373d56ccb94e5b6ef83b4dcd8920a776f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()