From bcd38eff4e71fff4fbbb398c368218c37eb5d4d9 Mon Sep 17 00:00:00 2001 From: Kingbox <37674310+lopezvg@users.noreply.github.com> Date: Wed, 11 Jul 2018 17:50:17 +0200 Subject: [PATCH] Clones de Newpct1: Borrado --- plugin.video.alfa/channels/descargas2020.json | 471 ----- plugin.video.alfa/channels/descargas2020.py | 1625 ----------------- .../channels/mispelisyseries.json | 470 ----- plugin.video.alfa/channels/mispelisyseries.py | 1625 ----------------- plugin.video.alfa/channels/torrentlocura.json | 471 ----- plugin.video.alfa/channels/torrentlocura.py | 1625 ----------------- plugin.video.alfa/channels/torrentrapid.json | 565 ------ plugin.video.alfa/channels/torrentrapid.py | 1625 ----------------- .../channels/tumejortorrent.json | 471 ----- plugin.video.alfa/channels/tumejortorrent.py | 1625 ----------------- plugin.video.alfa/channels/tvsinpagar.json | 471 ----- plugin.video.alfa/channels/tvsinpagar.py | 1625 ----------------- plugin.video.alfa/lib/generictools.py | 9 +- .../platformcode/xbmc_videolibrary.py | 20 +- 14 files changed, 18 insertions(+), 12680 deletions(-) delete mode 100755 plugin.video.alfa/channels/descargas2020.json delete mode 100644 plugin.video.alfa/channels/descargas2020.py delete mode 100755 plugin.video.alfa/channels/mispelisyseries.json delete mode 100644 plugin.video.alfa/channels/mispelisyseries.py delete mode 100755 plugin.video.alfa/channels/torrentlocura.json delete mode 100755 plugin.video.alfa/channels/torrentlocura.py delete mode 100644 plugin.video.alfa/channels/torrentrapid.json delete mode 100644 plugin.video.alfa/channels/torrentrapid.py delete mode 100644 plugin.video.alfa/channels/tumejortorrent.json delete mode 100644 plugin.video.alfa/channels/tumejortorrent.py delete mode 100644 plugin.video.alfa/channels/tvsinpagar.json delete mode 100644 plugin.video.alfa/channels/tvsinpagar.py diff --git a/plugin.video.alfa/channels/descargas2020.json b/plugin.video.alfa/channels/descargas2020.json deleted file mode 100755 index 48da7e45..00000000 --- a/plugin.video.alfa/channels/descargas2020.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "id": "descargas2020", - "name": "Descargas2020", - "active": false, - "adult": false, - "language": ["cast", "lat"], - "thumbnail": "http://descargas2020.com/d20/library/content/template/images/_logod2020.png", - "banner": "", - "categories": [ - "movie", - "tvshow", - "anime", - "torrent", - "documentary", - "vos", - "direct" - ], - "settings": [ - { - "id": "include_in_global_search", - "type": "bool", - "label": "Incluir en busqueda global", - "default": false, - "enabled": true, - "visible": true - }, - { - "id": "modo_grafico", - "type": "bool", - "label": "Buscar información extra (TMDB)", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "seleccionar_ult_temporadda_activa", - "type": "bool", - "label": "Seleccionar para Videoteca si estará activa solo la última Temporada", - "default": true, - "enabled": true, - "visible": true - }, - { - "id": "clonenewpct1_ver_enlaces_veronline", - "type": "list", - "label": "Mostrar enlaces Ver Online", - "default": 1, - "enabled": true, - "visible": true, - "lvalues": [ - "No", - "Todos", - "1", - "5", - "10", - "20" - ] - }, - { - "id": "clonenewpct1_verificar_enlaces_veronline", - "type": "list", - "label": "Verificar enlaces Ver Online", - "default": 1, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Todos", - "1", - "5", - "10", - "20" - ] - }, - { - "id": "clonenewpct1_verificar_enlaces_veronline_validos", - "type": "bool", - "label": "¿Contar sólo enlaces 'verificados' en Ver Online?", - "default": true, - "enabled": true, - "visible": "!eq(-1,'No') + !eq(-2,'No')" - }, - { - "id": "clonenewpct1_excluir1_enlaces_veronline", - "type": "list", - "label": "Excluir Servidores para Ver Online", - "default": 9, - "max_excl": 5, - "enabled": true, - "visible": "!eq(-3,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir2_enlaces_veronline", - "type": "list", - "label": "Excluir Servidores para Ver Online", - "default": 12, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir3_enlaces_veronline", - "type": "list", - "label": "Excluir Servidores para Ver Online", - "default": 20, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir4_enlaces_veronline", - "type": "list", - "label": "Excluir Servidores para Ver Online", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir5_enlaces_veronline", - "type": "list", - "label": "Excluir Servidores para Ver Online", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_ver_enlaces_descargas", - "type": "list", - "label": "Mostrar enlaces Descargas", - "default": 0, - "enabled": true, - "visible": true, - "lvalues": [ - "No", - "Todos", - "1", - "5", - "10", - "20", - "30", - "50", - "100" - ] - }, - { - "id": "clonenewpct1_verificar_enlaces_descargas", - "type": "list", - "label": "Verificar enlaces Descargas", - "default": 1, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Todos", - "1", - "5", - "10", - "20", - "30", - "50", - "100" - ] - }, - { - "id": "clonenewpct1_verificar_enlaces_descargas_validos", - "type": "bool", - "label": "¿Contar sólo enlaces 'verificados' en Descargar?", - "default": true, - "enabled": true, - "visible": "!eq(-1,'No') + !eq(-2,'No')" - }, - { - "id": "clonenewpct1_excluir1_enlaces_descargas", - "type": "list", - "label": "Excluir Servidores para Ver Descargas", - "default": 0, - "enabled": true, - "visible": "!eq(-3,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir2_enlaces_descargas", - "type": "list", - "label": "Excluir Servidores para Ver Descargas", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir3_enlaces_descargas", - "type": "list", - "label": "Excluir Servidores para Descargas", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir4_enlaces_descargas", - "type": "list", - "label": "Excluir Servidores para Descargas", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - }, - { - "id": "clonenewpct1_excluir5_enlaces_descargas", - "type": "list", - "label": "Excluir Servidores para Descargas", - "default": 0, - "enabled": true, - "visible": "!eq(-1,'No')", - "lvalues": [ - "No", - "Bankupload", - "Clipwatching", - "Flashx", - "Katfile", - "Mega", - "Mexashare", - "Movshare", - "Mowvideo", - "Openload", - "Powvideo", - "Rapidgator", - "Streamango", - "Streamcloud", - "Streame", - "Streaminto", - "Streamplay", - "Thevideo", - "Turbobit", - "Uploadedto", - "Uptobox", - "Userscloud", - "Vidabc", - "Vidspot" - ] - } - ] -} \ No newline at end of file diff --git a/plugin.video.alfa/channels/descargas2020.py b/plugin.video.alfa/channels/descargas2020.py deleted file mode 100644 index e1aac3ab..00000000 --- a/plugin.video.alfa/channels/descargas2020.py +++ /dev/null @@ -1,1625 +0,0 @@ -# -*- coding: utf-8 -*- - -import re -import sys -import urllib -import urlparse -import datetime -import ast - -from channelselector import get_thumb -from core import httptools -from core import scrapertools -from core import servertools -from core.item import Item -from platformcode import config, logger, platformtools -from core import tmdb -from lib import generictools - -channel_py = 'newpct1' - -#Código para permitir usar un único canal para todas las webs clones de NewPct1 -clone_list = config.get_setting('clonenewpct1_channels_list', channel_py) #Carga lista de clones -clone_list = ast.literal_eval(clone_list) #la convierte en array -host_index = 0 -host_index = config.get_setting('clonenewpct1_channel_default', channel_py) #Clone por defecto -i = 0 -for active_clone, channel_clone, host_clone, contentType_clone, info_clone in clone_list: - if i == host_index: - channel_clone_name = channel_clone #Nombre del Canal elegido - host = host_clone #URL del Canal elegido - break - i += 1 -item = Item() -item.channel_host = host -if item.channel != channel_py: - item.channel = channel_py -item.category = channel_clone_name.capitalize() - -#Carga de opciones del canal -__modo_grafico__ = config.get_setting('modo_grafico', channel_py) #TMDB? -modo_ultima_temp = config.get_setting('seleccionar_ult_temporadda_activa', channel_py) #Actualización sólo últ. Temporada? -timeout = config.get_setting('clonenewpct1_timeout_downloadpage', channel_py) #Timeout downloadpage -if timeout == 0: timeout = None - -platformtools.dialog_notification("NewPct1, ¡¡¡he vuelto como canal VIRTUAL!!!", "Hemos centralizado la gestión de los clones de NewPct1 en NewPct1 como canal virtual. Los clones desaparecerán en breve. Para más información lee el tutorial: https://alfa-addon.com /threads/newpct1-implantando-alta-disponibilidad.1200/", time=30000) - -#Vayamos a la siguiente acción en el canal Newpct1 -from platformcode import launcher -channel_clone_name = "descargas2020" #Nombre del Canal elegido -channel_py = channel_clone_name -host = "http://descargas2020.com/" -item.category = channel_clone_name.capitalize() -item.action = "mainlist" -item.channel_host = host -#launcher.run(item) - - -def mainlist(item): - logger.info() - #if item.channel != channel_py: - # return - - itemlist = [] - - if not item.channel_host: - item.channel_host = host - item.category = channel_clone_name.capitalize() - - thumb_pelis = get_thumb("channels_movie.png") - thumb_pelis_hd = get_thumb("channels_movie_hd.png") - thumb_series = get_thumb("channels_tvshow.png") - thumb_series_hd = get_thumb("channels_tvshow_hd.png") - thumb_series_az = get_thumb("channels_tvshow_az.png") - thumb_docus = get_thumb("channels_documentary.png") - thumb_buscar = get_thumb("search.png") - thumb_settings = get_thumb("setting_0.png") - - itemlist.append(Item(channel=item.channel, action="submenu", title="Películas", url=host, - extra="peliculas", thumbnail=thumb_pelis, category=item.category, channel_host=item.channel_host)) - - itemlist.append(Item(channel=item.channel, action="submenu", title="Series", url=host, extra="series", - thumbnail=thumb_series, category=item.category, channel_host=item.channel_host)) - - itemlist.append(Item(channel=item.channel, action="submenu", title="Documentales", url=host, extra="varios", - thumbnail=thumb_docus, category=item.category, channel_host=item.channel_host)) - itemlist.append( - Item(channel=item.channel, action="search", title="Buscar", url=host + "buscar", thumbnail=thumb_buscar, category=item.category, channel_host=item.channel_host)) - - itemlist.append( - Item(channel=item.channel, action="", title="[COLOR yellow]Configuración de Servidores:[/COLOR]", url="", thumbnail=thumb_settings, category=item.category, channel_host=item.channel_host)) - itemlist.append( - Item(channel=item.channel, action="settingCanal", title="Servidores para Ver Online y Descargas", url="", thumbnail=thumb_settings, category=item.category, channel_host=item.channel_host)) - - return itemlist - - -def settingCanal(item): - from platformcode import platformtools - return platformtools.show_channel_settings() - - -def submenu(item): - logger.info() - itemlist = [] - - data = '' - try: - data = re.sub(r"\n|\r|\t|\s{2}|()", "", httptools.downloadpage(item.url, timeout=timeout).data) - except: - pass - - patron = '