Обработка паузы
parent
e7c1aef44f
commit
aa075633ca
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue