From b076bd2981f2ad439aaf95af69158525d2eb33ec Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 27 Apr 2020 14:34:37 +0200 Subject: [PATCH] ops... --- platformcode/platformtools.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index ea890bbc..0671ebaa 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1506,17 +1506,17 @@ def play_torrent(item, xlistitem, mediaurl): if torr_client in ['quasar', 'elementum'] and item.downloadFilename: if torr_client == 'elementum': - config.set_setting('elementumtype', torr_setting.getSetting('download_storage')) - config.set_setting('elementumdl', torr_setting.getSetting('download_path')) - torr_setting.setSetting('download_storage', '0') - torr_setting.setSetting('download_path', config.get_setting('downloadpath')) - xbmc.sleep(1000) + # config.set_setting('elementumtype', torr_setting.getSetting('download_storage')) + # config.set_setting('elementumdl', torr_setting.getSetting('download_path')) + # torr_setting.setSetting('download_storage', '0') + # torr_setting.setSetting('download_path', config.get_setting('downloadpath')) + # xbmc.sleep(1000) torrent.call_torrent_via_web(urllib.quote_plus(item.url), torr_client) else: if torr_client == 'elementum': - if config.get_setting('elementumtype'): torr_setting.setSetting('download_storage', config.get_setting('elementumtype')) - if config.get_setting('elementumdl'): torr_setting.setSetting('download_path', config.get_setting('elementumdl')) - xbmc.sleep(1000) + # if config.get_setting('elementumtype'): torr_setting.setSetting('download_storage', config.get_setting('elementumtype')) + # if config.get_setting('elementumdl'): torr_setting.setSetting('download_path', config.get_setting('elementumdl')) + # xbmc.sleep(1000) xbmc.executebuiltin("PlayMedia(" + torrent_options[selection][1] % mediaurl + ")") # Si es un archivo RAR, monitorizamos el cliente Torrent hasta que haya descargado el archivo,