Merge pull request #49 from inpos/master

На 2й малине очень долго инициализируется статус в libtorrent
pull/8/head^2
DiMartinoXBMC 2016-03-21 19:37:54 +03:00
commit eff1306fdb
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,7 @@ 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()
showMessage('[%sPlayer v%s] ' % (author, __version__), self.localize('Please Wait'))
try: try:
self.engine.start() self.engine.start()
self.setup_nextep() self.setup_nextep()
@ -269,6 +270,7 @@ class InposPlayer(xbmc.Player):
break break
self.contentId = self.next_contentId self.contentId = self.next_contentId
self.engine.activate_file(self.contentId) self.engine.activate_file(self.contentId)
showMessage('[%sPlayer v%s] ' % (author, __version__), self.localize('Please Wait'))
continue continue
log('['+author+'Player]: ************************************* NO! break') log('['+author+'Player]: ************************************* NO! break')
break break