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
1 changed files with 1 additions and 1 deletions

View File

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