]> git.parisson.com Git - piplayer.git/commitdiff
cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 23 Jul 2013 01:39:09 +0000 (03:39 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 23 Jul 2013 01:39:09 +0000 (03:39 +0200)
piplayer.py

index 0dfd3726f75bd917c40756512d48c685932be690..9f5b6f2f6e01046c12ac787d76402a6064347336 100644 (file)
@@ -151,6 +151,7 @@ class AudioPlayer(object):
     def osc_play_stop(self, path, value):
         value = value[0]
         if value:
+            #print 'play'
             self.pipeline.set_state(gst.STATE_NULL)
             self.pipeline.set_state(gst.STATE_PLAYING)
         else:
@@ -158,7 +159,7 @@ class AudioPlayer(object):
 
     def gpio_play(self, value):
         if not self.play:
-            print 'play'
+            #print 'play'
             self.pipeline.set_state(gst.STATE_NULL)
             self.pipeline.set_state(gst.STATE_PLAYING)
             self.play = True