コード例 #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)
コード例 #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)
コード例 #3
0
ファイル: Inposloader.py プロジェクト: chimkentec/KodiE
 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)
コード例 #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)