diff --git a/osc.py b/osc.py index 3121498b94743d47216deab8bae70022e751ef68..f9abf100615f86e52139cd9d3ac47f8c1bf56d5c 100644 --- a/osc.py +++ b/osc.py @@ -14,10 +14,12 @@ class Client: print >>sys.stderr, 'OSC: failed to send message [%s]' % str(message) def send_action(self, action): - self.send('/action/%s' % (action.text)) + #self.send('/action/%s' % (action.text)) + self.send('ACTION: %s' % (action.text)) def send_words(self, start, words): - self.send('/words/%d/%s' % (start, words)) + #self.send('/words/%d/%s' % (start, words)) + self.send('WORDS(%d): %s' % (action.text)) class Server: def __init__(self, host = '127.0.0.1', port = 1234):