Update code/qudio.py
This commit is contained in:
@@ -56,6 +56,7 @@ def prev_callback(channel):
|
|||||||
## TODO implement seek
|
## TODO implement seek
|
||||||
|
|
||||||
def play_callback(channel):
|
def play_callback(channel):
|
||||||
|
global is_playing
|
||||||
if is_playing:
|
if is_playing:
|
||||||
logging.info("PAUSE")
|
logging.info("PAUSE")
|
||||||
socketIO.emit('pause')
|
socketIO.emit('pause')
|
||||||
|
|||||||
Reference in New Issue
Block a user