fix for PLAY/PAUSE
This commit is contained in:
@@ -59,9 +59,11 @@ def play_callback(channel):
|
|||||||
if is_playing:
|
if is_playing:
|
||||||
logging.info("PAUSE")
|
logging.info("PAUSE")
|
||||||
socketIO.emit('pause')
|
socketIO.emit('pause')
|
||||||
|
is_playing = False
|
||||||
else:
|
else:
|
||||||
logging.info("PLAY")
|
logging.info("PLAY")
|
||||||
socketIO.emit('play')
|
socketIO.emit('play')
|
||||||
|
is_playing = True
|
||||||
|
|
||||||
def next_callback(channel):
|
def next_callback(channel):
|
||||||
logging.info("NEXT")
|
logging.info("NEXT")
|
||||||
|
|||||||
Reference in New Issue
Block a user