From 144700b693d5bf5cb7fa8b99b20f474366d00859 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 17 Oct 2021 16:17:20 +0200 Subject: [PATCH] media.mpv should send MediaPlayRequestEvent with player and plugin parameters --- platypush/plugins/media/mpv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/mpv/__init__.py b/platypush/plugins/media/mpv/__init__.py index 0de1a9675a..f032f32897 100644 --- a/platypush/plugins/media/mpv/__init__.py +++ b/platypush/plugins/media/mpv/__init__.py @@ -129,7 +129,7 @@ class MediaMpvPlugin(MediaPlugin): :type args: dict[str,str] """ - get_bus().post(MediaPlayRequestEvent(resource=resource)) + self._post_event(MediaPlayRequestEvent, resource=resource) self._init_mpv(args) resource = self._get_resource(resource)