fast filelist
parent
b9740e04f8
commit
acce52d081
|
@ -153,6 +153,14 @@ class AnteoLoader:
|
||||||
return string
|
return string
|
||||||
|
|
||||||
def getContentList(self):
|
def getContentList(self):
|
||||||
|
try:
|
||||||
|
from Libtorrent import Libtorrent
|
||||||
|
torrent = Libtorrent(self.storageDirectory, self.torrentFile)
|
||||||
|
return torrent.getContentList()
|
||||||
|
except:
|
||||||
|
return self.getContentList_engine()
|
||||||
|
|
||||||
|
def getContentList_engine(self):
|
||||||
self.setup_engine()
|
self.setup_engine()
|
||||||
files = []
|
files = []
|
||||||
filelist = []
|
filelist = []
|
||||||
|
|
Loading…
Reference in New Issue