From a90047d14cbd94b2b6cd1729fa4b942a8cc108a6 Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 12 Jan 2025 01:13:40 +0000 Subject: [PATCH] Fix exception when stopping mpv/vlc --- microkodi/programs/mpv.py | 1 - microkodi/programs/vlc.py | 1 - 2 files changed, 2 deletions(-) diff --git a/microkodi/programs/mpv.py b/microkodi/programs/mpv.py index ae93763..ff0f026 100644 --- a/microkodi/programs/mpv.py +++ b/microkodi/programs/mpv.py @@ -120,7 +120,6 @@ class MpvProgram(Program): def stop(self, src): if self.is_active(): self._process.terminate() - self._process = None def exit(self): self.stop("mpvplayer.exit") diff --git a/microkodi/programs/vlc.py b/microkodi/programs/vlc.py index c3e1a3e..7eb4426 100644 --- a/microkodi/programs/vlc.py +++ b/microkodi/programs/vlc.py @@ -155,7 +155,6 @@ class VlcProgram(Program): def stop(self, src): if self.is_active(): self._process.terminate() - self._process = None def exit(self): self.stop("mpvplayer.exit")