forked from platypush/platypush
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:
parent
b9113bb57b
commit
3a5a731bd2
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ class MediaOmxplayerPlugin(MediaPlugin):
|
||||||
'be able to control the media')
|
'be able to control the media')
|
||||||
self.logger.exception(e)
|
self.logger.exception(e)
|
||||||
|
|
||||||
|
self._player.pause()
|
||||||
|
self._player.play()
|
||||||
return self.status()
|
return self.status()
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Loading…
Reference in a new issue