Обработка паузы

pull/11/head
inpos 2016-03-27 15:27:52 +03:00
parent e7c1aef44f
commit aa075633ca
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,8 @@ class InposPlayer(xbmc.Player):
self.seek = int(self.get("seek"))
self.init()
self.setup_engine()
self.on_playback_resumed.append(self.engine.resume)
self.on_playback_paused.append(self.engine.pause)
showMessage('[%sPlayer v%s] ' % (author, __version__), self.localize('Please Wait'))
try:
self.engine.start()