media.mpv should send MediaPlayRequestEvent with player and plugin parameters

This commit is contained in:
Fabio Manganiello 2021-10-17 16:17:20 +02:00
parent 4a5bb766af
commit 144700b693
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -129,7 +129,7 @@ class MediaMpvPlugin(MediaPlugin):
:type args: dict[str,str] :type args: dict[str,str]
""" """
get_bus().post(MediaPlayRequestEvent(resource=resource)) self._post_event(MediaPlayRequestEvent, resource=resource)
self._init_mpv(args) self._init_mpv(args)
resource = self._get_resource(resource) resource = self._get_resource(resource)