Skip to content
Snippets Groups Projects
Commit cbd438bd authored by Benoit Favre's avatar Benoit Favre
Browse files

change osc urls

parent 6d636799
Branches
No related tags found
No related merge requests found
...@@ -14,10 +14,10 @@ class Client: ...@@ -14,10 +14,10 @@ class Client:
print >>sys.stderr, 'OSC: failed to send message [%s]' % str(message) print >>sys.stderr, 'OSC: failed to send message [%s]' % str(message)
def send_action(self, action): def send_action(self, action):
self.send('ACTION: %s' % action.text) self.send('/action/%s' % (action.text))
def send_words(self, start, words): def send_words(self, start, words):
self.send('WORDS(%d): %s' % (start, words)) self.send('/words/%d/%s' % (start, words))
class Server: class Server:
def __init__(self, host = '127.0.0.1', port = 1234): def __init__(self, host = '127.0.0.1', port = 1234):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment