- completato il supporto al futuro Kodi 19\n- ridisegnato infoplus\n- fix vari ed eventuali\n
This commit is contained in:
marco
2020-09-29 21:08:25 +02:00
parent d153ac5918
commit 8a8d1e4f5e
195 changed files with 20697 additions and 23038 deletions
+4 -4
View File
@@ -3,7 +3,7 @@
import re, os, sys, time, requests, xbmc, xbmcaddon
from core import filetools, jsontools
from core.support import dbg, log, match
from core.support import info, match
from platformcode import config, platformtools
from torrentool.api import Torrent
from lib.guessit import guessit
@@ -25,9 +25,9 @@ def test_video_exists(page_url):
def get_video_url(page_url, premium=False, user='', password='', video_password=''):
torrent_options = platformtools.torrent_client_installed(show_tuple=True)
if len(torrent_options) == 0:
from specials import elementum_download
from platformcode import elementum_download
elementum_download.download()
log('server=torrent, the url is the good')
info('server=torrent, the url is the good')
if page_url.startswith('magnet:'):
video_urls = [['magnet: [torrent]', page_url]]
@@ -93,7 +93,7 @@ def elementum_download(item):
def elementum_monitor():
path = xbmc.translatePath(config.get_setting('downloadlistpath'))
elementum_setting, elementum_host, TorrentPath = setting()
active_torrent = filetools.listdir(TorrentPath)
# active_torrent = filetools.listdir(TorrentPath)
if elementum_setting:
# check if command file exist