From d3fc12ef9ceb2a0b0816add4c7e6e8d541f8ef19 Mon Sep 17 00:00:00 2001 From: Terry Geng Date: Sun, 8 Mar 2020 21:55:06 +0800 Subject: [PATCH] fix: broken pause --- mumbleBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mumbleBot.py b/mumbleBot.py index 15ac25f..a7ec5ce 100644 --- a/mumbleBot.py +++ b/mumbleBot.py @@ -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