Esempio n. 1
0
 def get_ids(self):
     contentList = []
     for filedict in self.torrent.getContentList():
         contentList.append(
             (filedict.get('title'), str(filedict.get('ind'))))
     contentList = sorted(contentList, key=lambda x: x[0])
     return get_ids_video(contentList)
Esempio n. 2
0
 def get_ids(self):
     contentList = []
     for fs in self.engine.list_from_info():
         contentList.append((fs.name, str(fs.index)))
     contentList = sorted(contentList, key=lambda x: x[0])
     return get_ids_video(contentList)
Esempio n. 3
0
 def get_ids(self):
     contentList = []
     for fs in self.engine.list_from_info():
         contentList.append((fs.name, str(fs.index)))
     contentList = sorted(contentList, key=lambda x: x[0])
     return get_ids_video(contentList)
Esempio n. 4
0
 def get_ids(self):
     contentList = []
     for filedict in self.torrent.getContentList():
         contentList.append((filedict.get('title'), str(filedict.get('ind'))))
     contentList = sorted(contentList, key=lambda x: x[0])
     return get_ids_video(contentList)