KoD 1.4
- completato il supporto al futuro Kodi 19\n- ridisegnato infoplus\n- fix vari ed eventuali\n
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user