From: Guillaume Pellerin Date: Tue, 23 Jul 2013 01:39:09 +0000 (+0200) Subject: cleanup X-Git-Tag: 0.3~29 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=74de378d3bb0f893535b5a61a0c8dcd191b4bdaa;p=piplayer.git cleanup --- diff --git a/piplayer.py b/piplayer.py index 0dfd372..9f5b6f2 100644 --- a/piplayer.py +++ b/piplayer.py @@ -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