fix: broken pause

This commit is contained in:
Terry Geng 2020-03-08 21:55:06 +08:00
parent 3fcf2ca0c2
commit d3fc12ef9c

View File

@ -496,7 +496,7 @@ class MumbleBot:
def pause(self): def pause(self):
# Kill the ffmpeg thread # Kill the ffmpeg thread
if self.thread: if self.thread:
self.pause_at_id = var.playlist.current_item() self.pause_at_id = var.playlist.current_item().id
self.thread.kill() self.thread.kill()
self.thread = None self.thread = None
self.is_pause = True self.is_pause = True