From fc0e69ab63dca7fe39777f1e72c15cbfe661b6d0 Mon Sep 17 00:00:00 2001 From: inpos Date: Sat, 12 Mar 2016 02:28:40 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D1=81=D0=BA=D0=BE=D1=80=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81?= =?UTF-8?q?=D0=BF=D0=B8=D1=81=D0=BA=D0=B0=20=D1=84=D0=B0=D0=B9=D0=BB=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Anteoloader.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Anteoloader.py b/Anteoloader.py index d02dc2e..35640bf 100644 --- a/Anteoloader.py +++ b/Anteoloader.py @@ -157,14 +157,15 @@ class AnteoLoader: files = [] filelist = [] with closing(self.engine): - self.engine.start() + #self.engine.start() #media_types=[MediaType.VIDEO, MediaType.AUDIO, MediaType.SUBTITLES, MediaType.UNKNOWN] iterator = 0 text = Localization.localize('Magnet-link is converting') if self.magnetLink\ else Localization.localize('Opening torrent file') while not files and not xbmc.abortRequested and iterator < 100: - files = self.engine.list() + #files = self.engine.list() + files = self.engine.list_from_info() #self.engine.check_torrent_error() if len(files) == 0: break if iterator==4: