pull/1/head
DiMartinoXBMC 2015-08-05 00:57:34 +03:00
parent 331b29ee61
commit ce42965672
1 changed files with 3 additions and 2 deletions

View File

@ -214,8 +214,9 @@ class BTClientPlayer(xbmc.Player):
self.download_limit = float(self.__settings__.getSetting("download_limit")) / 8 * 1024 self.download_limit = float(self.__settings__.getSetting("download_limit")) / 8 * 1024
def setup_torrent(self): def setup_torrent(self):
if self.__settings__.getSetting('encryption') == 'true': pass
self.c.encrypt() #if self.__settings__.getSetting('encryption') == 'true':
# self.c.encrypt()
#if self.subs_dl: #if self.subs_dl:
# subs = self.torrent.getSubsIds(os.path.basename(self.torrent.getFilePath(self.contentId))) # subs = self.torrent.getSubsIds(os.path.basename(self.torrent.getFilePath(self.contentId)))
# if len(subs) > 0: # if len(subs) > 0: