pause and then play omxplayer in the play handler to make sure that all the proper events are generated upon play

This commit is contained in:
Fabio Manganiello 2019-08-04 16:50:35 +02:00
parent b9113bb57b
commit 3a5a731bd2

View file

@ -81,6 +81,8 @@ class MediaOmxplayerPlugin(MediaPlugin):
'be able to control the media')
self.logger.exception(e)
self._player.pause()
self._player.play()
return self.status()
@action