From 7674ccd05373511168a1574f57e667e37a48fa3a Mon Sep 17 00:00:00 2001 From: Tilman Date: Mon, 5 Aug 2019 18:19:58 +0000 Subject: [PATCH] fix for PLAY/PAUSE --- code/qudio.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/qudio.py b/code/qudio.py index 5d6929a..8dea5e6 100644 --- a/code/qudio.py +++ b/code/qudio.py @@ -59,9 +59,11 @@ def play_callback(channel): if is_playing: logging.info("PAUSE") socketIO.emit('pause') + is_playing = False else: logging.info("PLAY") socketIO.emit('play') + is_playing = True def next_callback(channel): logging.info("NEXT")