From 690d7e8e7e6cd41fad6f11f8ee5fdf4e6a6d4416 Mon Sep 17 00:00:00 2001 From: Intel1 Date: Tue, 15 Aug 2017 08:16:10 -0500 Subject: [PATCH 01/10] Update allcalidad.py --- plugin.video.alfa/channels/allcalidad.py | 65 +++++++++++------------- 1 file changed, 31 insertions(+), 34 deletions(-) diff --git a/plugin.video.alfa/channels/allcalidad.py b/plugin.video.alfa/channels/allcalidad.py index 5153f289..ef3bfdef 100755 --- a/plugin.video.alfa/channels/allcalidad.py +++ b/plugin.video.alfa/channels/allcalidad.py @@ -8,19 +8,17 @@ from platformcode import config, logger host = "http://allcalidad.com/" - def mainlist(item): logger.info() itemlist = [] - itemlist.append(Item(channel=item.channel, title="Novedades", action="peliculas", url=host)) - itemlist.append(Item(channel=item.channel, title="Por género", action="generos_years", url=host, extra="Genero")) - itemlist.append(Item(channel=item.channel, title="Por año", action="generos_years", url=host, extra=">Año<")) - itemlist.append(Item(channel=item.channel, title="Favoritas", action="peliculas", url=host + "/favorites")) - itemlist.append(Item(channel=item.channel, title="")) - itemlist.append(Item(channel=item.channel, title="Buscar", action="search", url=host + "?s=")) + itemlist.append(Item(channel = item.channel, title = "Novedades", action = "peliculas", url = host)) + itemlist.append(Item(channel = item.channel, title = "Por género", action = "generos_years", url = host, extra = "Genero" )) + itemlist.append(Item(channel = item.channel, title = "Por año", action = "generos_years", url = host, extra = ">Año<")) + itemlist.append(Item(channel = item.channel, title = "Favoritas", action = "peliculas", url = host + "/favorites" )) + itemlist.append(Item(channel = item.channel, title = "")) + itemlist.append(Item(channel = item.channel, title = "Buscar", action = "search", url = host + "?s=")) return itemlist - def newest(categoria): logger.info() itemlist = [] @@ -57,16 +55,16 @@ def generos_years(item): logger.info() itemlist = [] data = httptools.downloadpage(item.url).data - patron = '(?s)%s(.*?)' % item.extra + patron = '(?s)%s(.*?)' %item.extra bloque = scrapertools.find_single_match(data, patron) - patron = 'href="([^"]+)' + patron = 'href="([^"]+)' patron += '">([^<]+)' matches = scrapertools.find_multiple_matches(bloque, patron) for url, titulo in matches: - itemlist.append(Item(channel=item.channel, - action="peliculas", - title=titulo, - url=url + itemlist.append(Item(channel = item.channel, + action = "peliculas", + title = titulo, + url = url )) return itemlist @@ -86,22 +84,22 @@ def peliculas(item): year = scrapertools.find_single_match(varios, 'Año.*?kinopoisk">([^<]+)') year = scrapertools.find_single_match(year, '[0-9]{4}') mtitulo = titulo + " (" + idioma + ") (" + year + ")" - new_item = Item(channel=item.channel, - action="findvideos", - title=mtitulo, - fulltitle=titulo, - thumbnail=thumbnail, - url=url, - contentTitle=titulo, - contentType="movie" - ) + new_item = Item(channel = item.channel, + action = "findvideos", + title = mtitulo, + fulltitle = titulo, + thumbnail = thumbnail, + url = url, + contentTitle = titulo, + contentType="movie" + ) if year: new_item.infoLabels['year'] = int(year) itemlist.append(new_item) url_pagina = scrapertools.find_single_match(data, 'next" href="([^"]+)') if url_pagina != "": pagina = "Pagina: " + scrapertools.find_single_match(url_pagina, "page/([0-9]+)") - itemlist.append(Item(channel=item.channel, action="peliculas", title=pagina, url=url_pagina)) + itemlist.append(Item(channel = item.channel, action = "peliculas", title = pagina, url = url_pagina)) return itemlist @@ -120,25 +118,24 @@ def findvideos(item): elif "vimeo" in url: url += "|" + "http://www.allcalidad.com" itemlist.append( - Item(channel=item.channel, - action="play", - title=titulo, - fulltitle=item.fulltitle, - thumbnail=item.thumbnail, - server=server, - url=url + Item(channel = item.channel, + action = "play", + title = titulo, + fulltitle = item.fulltitle, + thumbnail = item.thumbnail, + server = "", + url = url )) itemlist = servertools.get_servers_itemlist(itemlist, lambda i: i.title % i.server.capitalize()) if itemlist: - itemlist.append(Item(channel=item.channel)) + itemlist.append(Item(channel = item.channel)) itemlist.append(item.clone(channel="trailertools", title="Buscar Tráiler", action="buscartrailer", context="", text_color="magenta")) # Opción "Añadir esta película a la biblioteca de KODI" if item.extra != "library": if config.get_videolibrary_support(): itemlist.append(Item(channel=item.channel, title="Añadir a la videoteca", text_color="green", - filtro=True, action="add_pelicula_to_library", url=item.url, - thumbnail=item.thumbnail, + filtro=True, action="add_pelicula_to_library", url=item.url, thumbnail = item.thumbnail, infoLabels={'title': item.fulltitle}, fulltitle=item.fulltitle, extra="library")) return itemlist From e072b2290785dc63043100a5c662821738610f1f Mon Sep 17 00:00:00 2001 From: Intel1 Date: Tue, 15 Aug 2017 08:25:06 -0500 Subject: [PATCH 02/10] Delete mocosoftx.json --- plugin.video.alfa/channels/mocosoftx.json | 40 ----------------------- 1 file changed, 40 deletions(-) delete mode 100755 plugin.video.alfa/channels/mocosoftx.json diff --git a/plugin.video.alfa/channels/mocosoftx.json b/plugin.video.alfa/channels/mocosoftx.json deleted file mode 100755 index c8d2a7a2..00000000 --- a/plugin.video.alfa/channels/mocosoftx.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "mocosoftx", - "name": "MocosoftX", - "active": true, - "adult": true, - "language": "es", - "thumbnail": "mocosoftx.png", - "banner": "mocosoftx.png", - "version": 1, - "changes": [ - { - "date": "15/03/2017", - "description": "limpieza código" - }, - { - "date": "05/08/2016", - "description": "Eliminado de sección películas." - } - ], - "categories": [ - "adult" - ], - "settings": [ - { - "id": "mocosoftxuser", - "type": "text", - "label": "@30014", - "enabled": true, - "visible": true - }, - { - "id": "mocosoftxpassword", - "type": "text", - "label": "@30015", - "enabled": true, - "visible": true, - "hidden": true - } - ] -} \ No newline at end of file From 32d82fbae7178fca9feedcd08814a493edcff6b8 Mon Sep 17 00:00:00 2001 From: Intel1 Date: Tue, 15 Aug 2017 08:25:29 -0500 Subject: [PATCH 03/10] Delete mocosoftx.py --- plugin.video.alfa/channels/mocosoftx.py | 207 ------------------------ 1 file changed, 207 deletions(-) delete mode 100755 plugin.video.alfa/channels/mocosoftx.py diff --git a/plugin.video.alfa/channels/mocosoftx.py b/plugin.video.alfa/channels/mocosoftx.py deleted file mode 100755 index 7ecbe71e..00000000 --- a/plugin.video.alfa/channels/mocosoftx.py +++ /dev/null @@ -1,207 +0,0 @@ -# -*- coding: utf-8 -*- - -import re -import urllib -import urlparse - -from core import scrapertools -from core import servertools -from core.item import Item -from platformcode import config, logger -from platformcode import platformtools - -MAIN_HEADERS = [] -MAIN_HEADERS.append(["Host", "mocosoftx.com"]) -MAIN_HEADERS.append(["User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20100101 Firefox/8.0"]) -MAIN_HEADERS.append(["Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"]) -MAIN_HEADERS.append(["Accept-Language", "es-es,es;q=0.8,en-us;q=0.5,en;q=0.3"]) -MAIN_HEADERS.append(["Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.7"]) -MAIN_HEADERS.append(["Connection", "keep-alive"]) - - -# Login: -#
-# pst: user=blablabla&passwrd=&cookielength=-1&hash_passwrd=78e88DSe408508d22f -# doForm.hash_passwrd.value = hex_sha1(hex_sha1(doForm.user.value.php_to8bit().php_strtolower() + doForm.passwrd.value.php_to8bit()) + cur_session_id); -def login(): - # Averigua el id de sesión - data = scrapertools.cache_page("http://mocosoftx.com/foro/login/") - cur_session_id = scrapertools.get_match(data, - 'form action="[^"]+" name="frmLogin" id="frmLogin" method="post" accept-charset="ISO-8859-1" onsubmit="hashLoginPassword\(this, \'([a-z0-9]+)\'') - cur_session_id = "c95633073dc6afaa813d33b2bfeda520" - logger.info("cur_session_id=" + cur_session_id) - - # Calcula el hash del password - email = config.get_setting("mocosoftxuser", "mocosoftx") - password = config.get_setting("mocosoftxpassword", "mocosoftx") - logger.info("email=" + email) - logger.info("password=" + password) - - # doForm.hash_passwrd.value = hex_sha1(hex_sha1(doForm.user.value.php_to8bit().php_strtolower() + doForm.passwrd.value.php_to8bit()) + cur_session_id); - hash_passwrd = scrapertools.get_sha1(scrapertools.get_sha1(email.lower() + password.lower()) + cur_session_id) - logger.info("hash_passwrd=" + hash_passwrd) - - # Hace el submit del email - # post = "user="+email+"&passwrd=&cookieneverexp=on&hash_passwrd="+hash_passwrd - post = urllib.urlencode({'user': email, "passwrd": password}) + "&cookieneverexp=on&hash_passwrd=" - logger.info("post=" + post) - - headers = [] - headers.append(["Host", "mocosoftx.com"]) - headers.append(["User-Agent", - "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36"]) - headers.append(["Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"]) - headers.append(["Accept-Language", "es-ES,es;q=0.8,en;q=0.6,gl;q=0.4"]) - headers.append(["Accept-Encoding", "gzip, deflate"]) - headers.append(["Connection", "keep-alive"]) - headers.append(["Referer", "http://mocosoftx.com/foro/login/"]) - headers.append(["Origin", "http://mocosoftx.com"]) - headers.append(["Content-Type", "application/x-www-form-urlencoded"]) - headers.append(["Content-Length", str(len(post))]) - headers.append(["Cache-Control", "max-age=0"]) - headers.append(["Upgrade-Insecure-Requests", "1"]) - - data = scrapertools.cache_page("http://mocosoftx.com/foro/login2/", post=post, headers=headers) - logger.info("data=" + data) - - return True - - -def mainlist(item): - logger.info() - itemlist = [] - - if config.get_setting("mocosoftxuser", "mocosoftx") == "": - itemlist.append( - Item(channel=item.channel, title="Habilita tu cuenta en la configuración...", action="settingCanal", - url="")) - else: - if login(): - item.url = "http://mocosoftx.com/foro/forum/" - itemlist = foro(item) - itemlist.append(Item(channel=item.channel, action="settingCanal", title="Configuración...", url="")) - else: - itemlist.append( - Item(channel=item.channel, title="Cuenta incorrecta, revisa la configuración...", action="", url="", - folder=False)) - - return itemlist - - -def settingCanal(item): - return platformtools.show_channel_settings() - - -def foro(item): - logger.info() - itemlist = [] - - # Descarga la página - data = scrapertools.cache_page(item.url, headers=MAIN_HEADERS) - - # Extrae los foros y subforos - patron = '

]+>([^<]+)' - matches = re.compile(patron, re.DOTALL).findall(data) - scrapertools.printMatches(matches) - for scrapedurl, scrapedtitle in matches: - scrapedtitle = unicode(scrapedtitle, "iso-8859-1", errors="replace").encode("utf-8") - title = ">> Foro " + scrapedtitle - url = urlparse.urljoin(item.url, scrapedurl) - # http://mocosoftx.com/foro/fotos-hentai/?PHPSESSID=nflddqf9nvbm2dd92 - if "PHPSESSID" in url: - url = scrapertools.get_match(url, "(.*?)\?PHPSESSID=") - thumbnail = "" - plot = "" - itemlist.append(Item(channel=item.channel, title=title, action="foro", url=url, plot=plot, thumbnail=thumbnail, - folder=True)) - - # Extrae los hilos individuales - patron = '[^<]+' - patron += '2 - patronvideos = '\d+' - matches = re.compile(patronvideos, re.DOTALL).findall(data) - scrapertools.printMatches(matches) - - if len(matches) > 0: - scrapedtitle = ">> Página siguiente" - scrapedurl = urlparse.urljoin(item.url, matches[0]) - if "PHPSESSID" in scrapedurl: - scrapedurl = scrapertools.get_match(scrapedurl, "(.*?)\?PHPSESSID=") - scrapedthumbnail = "" - scrapedplot = "" - itemlist.append(Item(channel=item.channel, title=scrapedtitle, action="foro", url=scrapedurl, plot=scrapedplot, - thumbnail=scrapedthumbnail, folder=True)) - - return itemlist - - -def findvideos(item): - logger.info() - itemlist = [] - - # Busca el thumbnail y el argumento - data = scrapertools.cache_page(item.url) - logger.info("data=" + data) - - try: - thumbnail = scrapertools.get_match(data, '
.*? Date: Tue, 15 Aug 2017 08:26:02 -0500 Subject: [PATCH 04/10] Delete userporn.json --- plugin.video.alfa/servers/userporn.json | 64 ------------------------- 1 file changed, 64 deletions(-) delete mode 100755 plugin.video.alfa/servers/userporn.json diff --git a/plugin.video.alfa/servers/userporn.json b/plugin.video.alfa/servers/userporn.json deleted file mode 100755 index acb8ed9f..00000000 --- a/plugin.video.alfa/servers/userporn.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "active": true, - "changes": [ - { - "date": "25/03/2016", - "description": "Versión incial" - } - ], - "find_videos": { - "ignore_urls": [], - "patterns": [ - { - "pattern": "userporn.com\\/f\\/([A-Z0-9a-z]{12}).swf", - "url": "http://www.userporn.com/video/\\1" - }, - { - "pattern": "userporn.com\\/video\\/([A-Z0-9a-z]{12})", - "url": "http://www.userporn.com/video/\\1" - }, - { - "pattern": "userporn.com\\/e\\/([A-Z0-9a-z]{12})", - "url": "http://www.userporn.com/video/\\1" - }, - { - "pattern": "http\\:\\/\\/(?:www\\.)?userporn.com\\/(?:(?:e/|flash/)|(?:(?:video/|f/)))?([a-zA-Z0-9]{0,12})", - "url": "http://www.userporn.com/video/\\1" - } - ] - }, - "free": true, - "id": "userporn", - "name": "userporn", - "premium": [ - "realdebrid", - "alldebrid" - ], - "settings": [ - { - "default": false, - "enabled": true, - "id": "black_list", - "label": "Incluir en lista negra", - "type": "bool", - "visible": true - }, - { - "default": 0, - "enabled": true, - "id": "favorites_servers_list", - "label": "Incluir en lista de favoritos", - "lvalues": [ - "No", - "1", - "2", - "3", - "4", - "5" - ], - "type": "list", - "visible": false - } - ], - "version": 1 -} \ No newline at end of file From 88e7a9611d1d01320ada9bf0639b2867ebd90a42 Mon Sep 17 00:00:00 2001 From: Intel1 Date: Tue, 15 Aug 2017 08:26:14 -0500 Subject: [PATCH 05/10] Delete userporn.py --- plugin.video.alfa/servers/userporn.py | 61 --------------------------- 1 file changed, 61 deletions(-) delete mode 100755 plugin.video.alfa/servers/userporn.py diff --git a/plugin.video.alfa/servers/userporn.py b/plugin.video.alfa/servers/userporn.py deleted file mode 100755 index b98a40c0..00000000 --- a/plugin.video.alfa/servers/userporn.py +++ /dev/null @@ -1,61 +0,0 @@ -# -*- coding: utf-8 -*- - -import base64 -import re - -from core import scrapertools -from platformcode import logger - -HOSTER_KEY = "NTI2NzI5Cgo=" - - -# Returns an array of possible video url's from the page_url -def get_video_url(page_url, premium=False, user="", password="", video_password=""): - logger.info("(page_url='%s')" % page_url) - - video_urls = [] - # Espera un poco como hace el player flash - logger.info("waiting 3 secs") - import time - time.sleep(3) - - # Obtiene el id - code = Extract_id(page_url) - - # Descarga el json con los detalles del vídeo - # http://www.userporn.com/player_control/settings.php?v=dvthddkC7l4J&em=TRUE&fv=v1.1.45 - controluri = "http://userporn.com/player_control/settings.php?v=" + code + "&em=TRUE&fv=v1.1.45" - datajson = scrapertools.cachePage(controluri) - # logger.info("response="+datajson); - - # Convierte el json en un diccionario - datajson = datajson.replace("false", "False").replace("true", "True") - datajson = datajson.replace("null", "None") - datadict = eval("(" + datajson + ")") - - # Formatos - formatos = datadict["settings"]["res"] - - for formato in formatos: - uri = base64.decodestring(formato["u"]) - resolucion = formato["l"] - import videobb - video_url = videobb.build_url(uri, HOSTER_KEY, datajson) - video_urls.append(["%s [userporn]" % resolucion, video_url.replace(":80", "")]) - - for video_url in video_urls: - logger.info("%s - %s" % (video_url[0], video_url[1])) - - return video_urls - - -def Extract_id(url): - _VALID_URL = r'^((?:http://)?(?:\w+\.)?userporn\.com/(?:(?:(?:e/)|(?:video/))|(?:(?:flash/)|(?:f/)))?)?([0-9A-Za-z_-]+)(?(1).+)?$' - # Extract video id from URL - mobj = re.match(_VALID_URL, url) - if mobj is None: - logger.info('ERROR: URL invalida: %s' % url) - return "" - id = mobj.group(2) - logger.info("extracted code=" + id) - return id From 387835d5ae385882716c51c1c742f9bad561bf82 Mon Sep 17 00:00:00 2001 From: k1792539 Date: Tue, 15 Aug 2017 15:53:40 +0200 Subject: [PATCH 06/10] Fix historial en mostrar enlace original --- mediaserver/platformcode/controllers/html.py | 1 + mediaserver/platformcode/template/js/protocol.js | 4 +++- mediaserver/platformcode/template/js/ui.js | 13 +++++++++++++ mediaserver/platformcode/template/js/vars.js | 5 ++++- mediaserver/platformcode/template/page.html | 4 ++-- 5 files changed, 23 insertions(+), 4 deletions(-) diff --git a/mediaserver/platformcode/controllers/html.py b/mediaserver/platformcode/controllers/html.py index bff17a80..885a9d0e 100644 --- a/mediaserver/platformcode/controllers/html.py +++ b/mediaserver/platformcode/controllers/html.py @@ -113,6 +113,7 @@ class platform(Platformtools): JsonData["data"]["viewmode"] = parent_item.viewmode JsonData["data"]["category"] = parent_item.category.capitalize() JsonData["data"]["host"] = self.controller.host + if parent_item.url: JsonData["data"]["url"] = parent_item.url # Recorremos el itemlist for item in itemlist: diff --git a/mediaserver/platformcode/template/js/protocol.js b/mediaserver/platformcode/template/js/protocol.js index 4ba41fed..089a0c3d 100644 --- a/mediaserver/platformcode/template/js/protocol.js +++ b/mediaserver/platformcode/template/js/protocol.js @@ -77,7 +77,9 @@ function get_response(data) { document.getElementById("itemlist").scrollTop = 0; show_images(); - nav_history.newResponse(item_list, data.category); + nav_history.newResponse(item_list, data.category, data.url); + + set_original_url(data.url) //console.debug(nav_history) send_data({ diff --git a/mediaserver/platformcode/template/js/ui.js b/mediaserver/platformcode/template/js/ui.js index 91fb6fd2..585998fd 100644 --- a/mediaserver/platformcode/template/js/ui.js +++ b/mediaserver/platformcode/template/js/ui.js @@ -104,6 +104,19 @@ function image_error(thumbnail) { }; }; +function set_original_url(url){ + currentWebLink = document.getElementById("current_web_link") + if (currentWebLink) { + if (url) { + currentWebLink.style.display = "block"; + currentWebLink.href = url; + } + else { + currentWebLink.style.display = "none"; + } + } +} + function show_images(){ var container = document.getElementById("itemlist"); var images = container.getElementsByTagName("img"); diff --git a/mediaserver/platformcode/template/js/vars.js b/mediaserver/platformcode/template/js/vars.js index 1bc1ace4..476630d9 100644 --- a/mediaserver/platformcode/template/js/vars.js +++ b/mediaserver/platformcode/template/js/vars.js @@ -59,7 +59,7 @@ var nav_history = { } } }, - "newResponse": function (data, category) { + "newResponse": function (data, category, url) { if (!this.confirmed) { if (this.states[this.current].focus >= 0) { document.getElementById("itemlist").children[this.states[this.current].focus].children[0].focus(); @@ -68,6 +68,7 @@ var nav_history = { this.states[this.current].end = new Date().getTime(); this.states[this.current].data = data; this.states[this.current].category = category; + this.states[this.current].url = url; this.confirmed = true; if (settings.builtin_history && !this.from_nav) { if (this.current > 0) { @@ -86,6 +87,7 @@ var nav_history = { this.states[this.current].end = new Date().getTime(); this.states[this.current].data = data; this.states[this.current].category = category; + this.states[this.current].url = url; this.states = this.states.slice(0, this.current + 1); } this.from_nav = false; @@ -116,6 +118,7 @@ var nav_history = { if (this.states[this.current].end - this.states[this.current].start > this.cache) { document.getElementById("itemlist").innerHTML = this.states[this.current].data.join(""); set_category(this.states[this.current].category) + set_original_url(this.states[this.current].url) if (this.states[this.current].focus >= 0) { document.getElementById("itemlist").children[this.states[this.current].focus].children[0].focus(); } diff --git a/mediaserver/platformcode/template/page.html b/mediaserver/platformcode/template/page.html index 08fba442..50fe256a 100644 --- a/mediaserver/platformcode/template/page.html +++ b/mediaserver/platformcode/template/page.html @@ -129,7 +129,7 @@ -
+ From 18bdc6d30b8a02144cce34c9dd00b84395814eae Mon Sep 17 00:00:00 2001 From: k1792539 Date: Tue, 15 Aug 2017 16:07:18 +0200 Subject: [PATCH 07/10] Fix --- mediaserver/platformcode/template/js/vars.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mediaserver/platformcode/template/js/vars.js b/mediaserver/platformcode/template/js/vars.js index 476630d9..bb54ce7e 100644 --- a/mediaserver/platformcode/template/js/vars.js +++ b/mediaserver/platformcode/template/js/vars.js @@ -68,7 +68,7 @@ var nav_history = { this.states[this.current].end = new Date().getTime(); this.states[this.current].data = data; this.states[this.current].category = category; - this.states[this.current].url = url; + this.states[this.current].source_url = url; this.confirmed = true; if (settings.builtin_history && !this.from_nav) { if (this.current > 0) { @@ -87,7 +87,7 @@ var nav_history = { this.states[this.current].end = new Date().getTime(); this.states[this.current].data = data; this.states[this.current].category = category; - this.states[this.current].url = url; + this.states[this.current].source_url = url; this.states = this.states.slice(0, this.current + 1); } this.from_nav = false; @@ -118,7 +118,7 @@ var nav_history = { if (this.states[this.current].end - this.states[this.current].start > this.cache) { document.getElementById("itemlist").innerHTML = this.states[this.current].data.join(""); set_category(this.states[this.current].category) - set_original_url(this.states[this.current].url) + set_original_url(this.states[this.current].source_url) if (this.states[this.current].focus >= 0) { document.getElementById("itemlist").children[this.states[this.current].focus].children[0].focus(); } From 4792c424e2494be6b3e2d201e9579d71a9b10aae Mon Sep 17 00:00:00 2001 From: k1792539 Date: Tue, 15 Aug 2017 22:12:36 +0200 Subject: [PATCH 08/10] Update URL --- mediaserver/platformcode/template/js/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mediaserver/platformcode/template/js/ui.js b/mediaserver/platformcode/template/js/ui.js index 585998fd..65fa15a7 100644 --- a/mediaserver/platformcode/template/js/ui.js +++ b/mediaserver/platformcode/template/js/ui.js @@ -94,7 +94,7 @@ function focus_element(element) { function image_error(thumbnail) { var src = thumbnail.src; if (thumbnail.src.indexOf(domain) == 0) { - thumbnail.src = "http://media.tvalacarta.info/pelisalacarta/thumb_folder2.png"; + thumbnail.src = "https://github.com/alfa-addon/addon/raw/master/plugin.video.alfa/resources/media/general/default/thumb_folder.png"; } else { thumbnail.src = domain + "/proxy/" + encodeURIComponent(btoa(thumbnail.src)); @@ -235,4 +235,4 @@ function auto_scroll(element) { function center_window(el) { el.style.top = document.getElementById("window").offsetHeight / 2 - el.offsetHeight / 2 + "px"; -}; \ No newline at end of file +}; From 9af3680356985466f6510e5dde2785521aa4eb3c Mon Sep 17 00:00:00 2001 From: Alfa-beto <30815244+Alfa-beto@users.noreply.github.com> Date: Wed, 16 Aug 2017 23:53:32 +0000 Subject: [PATCH 09/10] Fixes Varios --- plugin.video.alfa/channels/mundoflv.py | 9 +- plugin.video.alfa/channels/tvseriesdk.py | 367 +++++++++--------- plugin.video.alfa/channels/ver-peliculas.json | 3 +- plugin.video.alfa/channels/ver-peliculas.py | 20 +- 4 files changed, 201 insertions(+), 198 deletions(-) diff --git a/plugin.video.alfa/channels/mundoflv.py b/plugin.video.alfa/channels/mundoflv.py index f00e27a0..8eeb1dae 100755 --- a/plugin.video.alfa/channels/mundoflv.py +++ b/plugin.video.alfa/channels/mundoflv.py @@ -345,13 +345,13 @@ def temporadas(item): itemlist = [] templist = [] data = httptools.downloadpage(item.url).data + data = data.replace ('"',"'") realplot = '' - patron = "" + patron = "