Merge pull request #51 from inpos/master

Обработка паузы
pull/11/head
DiMartinoXBMC 2016-03-29 18:56:51 +03:00
commit aab077f4a7
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.seek = int(self.get("seek"))
self.init() self.init()
self.setup_engine() 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')) showMessage('[%sPlayer v%s] ' % (author, __version__), self.localize('Please Wait'))
try: try:
self.engine.start() self.engine.start()