fix for PLAY/PAUSE
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user