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()