diff --git a/anki/sound.py b/anki/sound.py index 5036b6c14..3cc2ec53f 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -91,6 +91,9 @@ class MplayerMonitor(threading.Thread): while 1: mplayerEvt.wait() mplayerEvt.clear() + # clearing queue? + if mplayerClear and self.mplayer: + self.mplayer.stdin.write("stop\n") # loop through files to play while mplayerQueue: # ensure started