From 74de378d3bb0f893535b5a61a0c8dcd191b4bdaa Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 23 Jul 2013 03:39:09 +0200 Subject: [PATCH] cleanup --- piplayer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5