From e21710e0a4395391344584999bf5f5a0ef9d303b Mon Sep 17 00:00:00 2001
From: Benoit Favre <benoit.favre@lif.univ-mrs.fr>
Date: Mon, 2 Mar 2015 21:36:19 +0100
Subject: [PATCH] revert osc protocol

---
 osc.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/osc.py b/osc.py
index 3121498..f9abf10 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):
-- 
GitLab