fix: broken pause
This commit is contained in:
parent
3fcf2ca0c2
commit
d3fc12ef9c
@ -496,7 +496,7 @@ class MumbleBot:
|
||||
def pause(self):
|
||||
# Kill the ffmpeg 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 = None
|
||||
self.is_pause = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user