alcuni fix per kodi 19

This commit is contained in:
marco
2020-08-16 12:55:12 +02:00
parent ae2a9d7c72
commit bfb80f6889
42 changed files with 6510 additions and 2735 deletions
+3 -1
View File
@@ -21,8 +21,10 @@ from core.item import Item
from lib import unshortenit
from platformcode import config
from platformcode.logger import log
from platformcode import logger
from specials import autoplay
def hdpass_get_servers(item):
def get_hosts(url, quality):
ret = []
@@ -466,7 +468,7 @@ def scrape(func):
# if url may be changed and channel has findhost to update
if 'findhost' in func.__globals__ and not itemlist:
logger.info('running findhost ' + func.__module__)
log('running findhost ' + func.__module__)
host = func.__globals__['findhost']()
parse = list(urlparse.urlparse(item.url))
from core import jsontools