From f98f9c3b96887a880e66fa287c549b09e7d615f1 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 22 Oct 2024 02:56:56 +0200 Subject: [PATCH] [media.vlc] Always set the stop event when the player quits. --- platypush/plugins/media/vlc/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/plugins/media/vlc/__init__.py b/platypush/plugins/media/vlc/__init__.py index 0183c612fd..71cd7f168a 100644 --- a/platypush/plugins/media/vlc/__init__.py +++ b/platypush/plugins/media/vlc/__init__.py @@ -133,6 +133,7 @@ class MediaVlcPlugin(MediaPlugin): if state in {vlc.State.Stopped, vlc.State.Ended, vlc.State.Error}: # type: ignore break + self._on_stop_event.set() self.logger.info('VLC stream terminated') self.quit()