sandbox1
inpos 2016-03-17 21:45:50 +03:00
parent afdd8cc3c2
commit 34c703c4e8
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.module.pyrrent2http" name="pyrrent2http" version="0.8.3" provider-name="inpos"> <addon id="script.module.pyrrent2http" name="pyrrent2http" version="0.8.4" provider-name="inpos">
<requires> <requires>
<import addon="xbmc.python" version="2.14.0"/> <import addon="xbmc.python" version="2.14.0"/>
<import addon="script.module.libtorrent" /> <import addon="script.module.libtorrent" />

View File

@ -279,8 +279,7 @@ class TorrentFS(object):
self.setPriority(i, 1) self.setPriority(i, 1)
else: else:
self.setPriority(i, 0) self.setPriority(i, 0)
def Status(self):
return self.handle.status()
def Shutdown(self): def Shutdown(self):
self.shuttingDown = True self.shuttingDown = True
if len(self.openedFiles) > 0: if len(self.openedFiles) > 0:
@ -785,7 +784,7 @@ class Pyrrent2http(object):
info = self.TorrentFS.info info = self.TorrentFS.info
#tstatus = self.torrentHandle.status() #tstatus = self.torrentHandle.status()
#tstatus = self.TorrentFS.handle.status() #tstatus = self.TorrentFS.handle.status()
tstatus = self.TorrentFS.Status() tstatus = self.torrentHandle.status()
status = { status = {
'name' : info.name(), 'name' : info.name(),