still broken
parent
12fcb4bd64
commit
d985d5e2ca
|
@ -320,21 +320,18 @@ class AnteoPlayer(xbmc.Player):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
log('[AnteoPlayer]: ************************************* NO! break')
|
log('[AnteoPlayer]: ************************************* NO! break')
|
||||||
|
showMessage(self.localize('Information'),
|
||||||
|
self.localize('Stopping the torrent2http process...'), forced=True)
|
||||||
break
|
break
|
||||||
|
|
||||||
xbmc.Player().stop()
|
self.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)
|
||||||
clearStorage(self.userStorageDirectory)
|
clearStorage(self.userStorageDirectory)
|
||||||
else:
|
|
||||||
#if self.seeding_status:
|
|
||||||
#showMessage(self.localize('Information'),
|
|
||||||
# self.localize('Torrent is seeding. To stop it use Download Status.'), forced=True)
|
|
||||||
#else:
|
|
||||||
#if self.seeding: self.db_delete()
|
|
||||||
showMessage(self.localize('Information'),
|
showMessage(self.localize('Information'),
|
||||||
self.localize('Torrent downloading is stopped.'), forced=True)
|
self.localize('torrent2http process stopped.'), forced=True)
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
self.next_contentId = False
|
self.next_contentId = False
|
||||||
|
@ -523,8 +520,7 @@ class AnteoPlayer(xbmc.Player):
|
||||||
listitem = self.get('listitem')
|
listitem = self.get('listitem')
|
||||||
listitem.setPath(url)
|
listitem.setPath(url)
|
||||||
|
|
||||||
player = xbmc.Player()
|
self.play(url, listitem)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue