diff --git a/code/qudio.py b/code/qudio.py index 8dea5e6..512d00a 100644 --- a/code/qudio.py +++ b/code/qudio.py @@ -56,6 +56,7 @@ def prev_callback(channel): ## TODO implement seek def play_callback(channel): + global is_playing if is_playing: logging.info("PAUSE") socketIO.emit('pause')