]> git.parisson.com Git - piplayer.git/commitdiff
cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 23 Jul 2013 02:28:40 +0000 (04:28 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 23 Jul 2013 02:28:40 +0000 (04:28 +0200)
piplayer.py

index 8bf39474beed6219bd0018c9e5eddd43259c5fb2..23529b5ffd88fa672a56a041125c3dd7b4829f86 100644 (file)
@@ -81,7 +81,7 @@ class AudioPlayer(object):
         self.osc_controller.add_method('/play', 'i', self.osc_play_stop)
         self.osc_controller.start()
  
-        # GPIO Controller
+        # GPIO controller
         self.gpio_controller = GPIOController()
         self.gpio_controller.add_channel_callback(self.gpio_channel_play, self.gpio_play)
         self.gpio_controller.start()
@@ -172,9 +172,9 @@ class AudioPlayer(object):
         
 if __name__ == '__main__':
     if len(sys.argv) <= 1:
-        print """ piplayer.py : a RPi gstreamer base media sample player trigerred by GPIO or OSC 
-  usage : python piplayer.py URI
-  example : python piplayer.py file:///path/to/a/media/file
+        print """ piplayer.py : a RPi gstreamer based media sample player trigerred by GPIO or OSC callbacks 
+  usage : sudo python piplayer.py URI
+  example : sudo python piplayer.py file:///path/to/a/media/file
     OSC : 
       default port : 12345
       default play address : /play/1