pull/15/head
DiMartinoXBMC 2016-12-22 21:25:21 +03:00
parent 265b7f87d7
commit 8cb1b23260
1 changed files with 3 additions and 2 deletions

View File

@ -324,7 +324,7 @@ class AnteoPlayer(xbmc.Player):
self.localize('Stopping the torrent2http process...'), forced=True) self.localize('Stopping the torrent2http process...'), forced=True)
break break
self.stop() xbmc.Player().stop()
if '1' != self.__settings__.getSetting("keep_files") and 'Saved Files' not in self.userStorageDirectory: if '1' != self.__settings__.getSetting("keep_files") and 'Saved Files' not in self.userStorageDirectory:
xbmc.sleep(1000) xbmc.sleep(1000)
@ -520,7 +520,8 @@ class AnteoPlayer(xbmc.Player):
listitem = self.get('listitem') listitem = self.get('listitem')
listitem.setPath(url) listitem.setPath(url)
self.play(url, listitem) player = xbmc.Player()
player.play(url, listitem)
xbmc.sleep(2000) # very important, do not edit this, podavan xbmc.sleep(2000) # very important, do not edit this, podavan
i = 0 i = 0