From: Guillaume Pellerin Date: Fri, 4 Jun 2010 17:43:45 +0000 (+0000) Subject: ifix relay callback X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=ac00b1520a6c25470705023a35ea81e8aeb5f05a;p=deefuzzer.git ifix relay callback --- diff --git a/tools/osc_relay_start.py b/tools/osc_relay_start.py index 14bcb69..9360646 100644 --- a/tools/osc_relay_start.py +++ b/tools/osc_relay_start.py @@ -11,4 +11,4 @@ except liblo.AddressError, err: sys.exit() # send message "/foo/message1" with int, float and string arguments -liblo.send(target, "/media/relay", 1) +liblo.send(target, "/relay", 1) diff --git a/tools/station.py b/tools/station.py index 710e171..c1288eb 100644 --- a/tools/station.py +++ b/tools/station.py @@ -171,7 +171,7 @@ class Station(Thread): self.osc_controller.start() # OSC paths and callbacks self.osc_controller.add_method('/media/next', 'i', self.media_next_callback) - self.osc_controller.add_method('/media/relay', 'i', self.relay_callback) + self.osc_controller.add_method('/relay', 'i', self.relay_callback) self.osc_controller.add_method('/twitter', 'i', self.twitter_callback) self.osc_controller.add_method('/jingles', 'i', self.jingles_callback) self.osc_controller.add_method('/record', 'i', self.record_callback)