fix vari kodi 19
This commit is contained in:
@@ -14,7 +14,10 @@ list_quality = ['default']
|
|||||||
|
|
||||||
def findhost():
|
def findhost():
|
||||||
permUrl = httptools.downloadpage('https://www.cinemalibero.online/', follow_redirects=False).headers
|
permUrl = httptools.downloadpage('https://www.cinemalibero.online/', follow_redirects=False).headers
|
||||||
import urlparse
|
try:
|
||||||
|
import urlparse
|
||||||
|
except:
|
||||||
|
import urllib.parse as urlparse
|
||||||
p = list(urlparse.urlparse(permUrl['location'].replace('https://www.google.com/search?q=site:', '')))
|
p = list(urlparse.urlparse(permUrl['location'].replace('https://www.google.com/search?q=site:', '')))
|
||||||
if not p[0]:
|
if not p[0]:
|
||||||
p[0] = 'https'
|
p[0] = 'https'
|
||||||
|
|||||||
@@ -3,14 +3,7 @@
|
|||||||
# Ringraziamo Icarus crew
|
# Ringraziamo Icarus crew
|
||||||
# Canale per cinetecadibologna
|
# Canale per cinetecadibologna
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
import urlparse
|
|
||||||
|
|
||||||
from core import httptools, scrapertools
|
|
||||||
from core.item import Item
|
from core.item import Item
|
||||||
from platformcode import logger, config
|
|
||||||
|
|
||||||
from core import support
|
from core import support
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -3,10 +3,8 @@
|
|||||||
# Ringraziamo Icarus crew
|
# Ringraziamo Icarus crew
|
||||||
# Canale per documentaristreamingda
|
# Canale per documentaristreamingda
|
||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
import re
|
|
||||||
import urlparse
|
|
||||||
|
|
||||||
from core import httptools, scrapertools, servertools, support
|
from core import support
|
||||||
from core.item import Item
|
from core.item import Item
|
||||||
from platformcode import logger, config
|
from platformcode import logger, config
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,10 @@
|
|||||||
# ------------------------------------------------------------
|
# ------------------------------------------------------------
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import urlparse
|
try:
|
||||||
|
import urlparse
|
||||||
|
except:
|
||||||
|
import urllib.parse as urlparse
|
||||||
|
|
||||||
from core import scrapertools, servertools, httptools
|
from core import scrapertools, servertools, httptools
|
||||||
from core import tmdb
|
from core import tmdb
|
||||||
|
|||||||
+1
-1
@@ -87,7 +87,7 @@ def encode(path, _samba=False):
|
|||||||
if scrapertools.find_single_match(path, '(^\w+:\/\/)') or _samba:
|
if scrapertools.find_single_match(path, '(^\w+:\/\/)') or _samba:
|
||||||
path = path.encode("utf-8", "ignore")
|
path = path.encode("utf-8", "ignore")
|
||||||
else:
|
else:
|
||||||
if fs_encoding:
|
if fs_encoding and not PY3:
|
||||||
path = path.encode(fs_encoding, "ignore")
|
path = path.encode(fs_encoding, "ignore")
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ import copy
|
|||||||
import re
|
import re
|
||||||
import sqlite3
|
import sqlite3
|
||||||
import time
|
import time
|
||||||
import urllib
|
|
||||||
|
|
||||||
import xbmcaddon
|
import xbmcaddon
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ from platformcode import config, logger
|
|||||||
logger.info("init...")
|
logger.info("init...")
|
||||||
|
|
||||||
librerias = xbmc.translatePath(os.path.join(config.get_runtime_path(), 'lib'))
|
librerias = xbmc.translatePath(os.path.join(config.get_runtime_path(), 'lib'))
|
||||||
sys.path.insert(0, librerias)
|
sys.path.append(librerias)
|
||||||
|
|
||||||
if not config.dev_mode():
|
if not config.dev_mode():
|
||||||
from platformcode import updater
|
from platformcode import updater
|
||||||
|
|||||||
@@ -1143,7 +1143,7 @@ def get_video_seleccionado(item, seleccion, video_urls):
|
|||||||
return mediaurl, view, mpd
|
return mediaurl, view, mpd
|
||||||
|
|
||||||
|
|
||||||
def set_player(item, xlistitem, mediaurl, view, strm, autoplay):
|
def set_player(item, xlistitem, mediaurl, view, strm):
|
||||||
logger.info()
|
logger.info()
|
||||||
logger.debug("item:\n" + item.tostring('\n'))
|
logger.debug("item:\n" + item.tostring('\n'))
|
||||||
# Movido del conector "torrent" aqui
|
# Movido del conector "torrent" aqui
|
||||||
|
|||||||
+4
-1
@@ -2,7 +2,10 @@
|
|||||||
# Icarus pv7
|
# Icarus pv7
|
||||||
# Fix dentaku65
|
# Fix dentaku65
|
||||||
|
|
||||||
import urlparse
|
try:
|
||||||
|
import urlparse
|
||||||
|
except:
|
||||||
|
import urllib.parse as urlparse
|
||||||
|
|
||||||
from core import httptools
|
from core import httptools
|
||||||
from core import scrapertools
|
from core import scrapertools
|
||||||
|
|||||||
+4
-1
@@ -3,7 +3,10 @@
|
|||||||
import re
|
import re
|
||||||
import urllib
|
import urllib
|
||||||
|
|
||||||
import urlparse
|
try:
|
||||||
|
import urlparse
|
||||||
|
except:
|
||||||
|
import urllib.parse as urlparse
|
||||||
|
|
||||||
from core import httptools
|
from core import httptools
|
||||||
from core import jsontools as json
|
from core import jsontools as json
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
import ssl
|
import ssl
|
||||||
import urlparse
|
try:
|
||||||
|
import urlparse
|
||||||
|
except:
|
||||||
|
import urllib.parse as urlparse
|
||||||
|
|
||||||
from lib.requests_toolbelt.adapters import host_header_ssl
|
from lib.requests_toolbelt.adapters import host_header_ssl
|
||||||
from lib import doh
|
from lib import doh
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ PY3 = False
|
|||||||
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
|
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
|
||||||
|
|
||||||
import os, json, time, inspect, channelselector
|
import os, json, time, inspect, channelselector
|
||||||
from lib.concurrent import futures
|
from concurrent import futures
|
||||||
from core.item import Item
|
from core.item import Item
|
||||||
from core import tmdb, scrapertools, channeltools, filetools, jsontools
|
from core import tmdb, scrapertools, channeltools, filetools, jsontools
|
||||||
from channelselector import get_thumb
|
from channelselector import get_thumb
|
||||||
|
|||||||
Reference in New Issue
Block a user