49 #os.spawnlp(os.P_NOWAIT, "/usr/bin/mpg123", "mpg123", SOUNDS[what]) |
49 #os.spawnlp(os.P_NOWAIT, "/usr/bin/mpg123", "mpg123", SOUNDS[what]) |
50 #Popen(["/usr/bin/mpg123", SOUNDS[what]]).pid |
50 #Popen(["/usr/bin/mpg123", SOUNDS[what]]).pid |
51 |
51 |
52 def trigger_event(what): |
52 def trigger_event(what): |
53 trigger_sound(what) |
53 trigger_sound(what) |
54 Popen([os.path.abspath(EVENTPREFIX + what]) |
54 Popen([os.path.abspath(EVENTPREFIX + what)]) |
55 |
55 |
56 class SlotCli(): |
56 class SlotCli(): |
57 def __init__(self, test = None, dev=""): |
57 def __init__(self, test = None, dev=""): |
58 self.box = Blackbox() |
58 self.box = Blackbox() |
59 if not test: |
59 if not test: |