fast filelist
This commit is contained in:
		
							parent
							
								
									b9740e04f8
								
							
						
					
					
						commit
						acce52d081
					
				@ -153,6 +153,14 @@ class AnteoLoader:
 | 
			
		||||
            return string
 | 
			
		||||
 | 
			
		||||
    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()
 | 
			
		||||
        files = []
 | 
			
		||||
        filelist = []
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user