Verified Commit 144700b6 authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

media.mpv should send MediaPlayRequestEvent with player and plugin parameters

parent 4a5bb766
Pipeline #80 passed with stages
in 5 minutes and 27 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment