Example #1
0
def mundoplus_guide(params):
    plugintools.log("[movie.ultra.7k 0.3.3].Mundoplus.tv " + repr(params))

    sinopsis = params.get("plot")
    datamovie = {}
    datamovie["Plot"] = sinopsis

    title = parser_title(params.get("page")).strip()
    title = title.replace("[COLOR white]", "").replace(
        "[COLOR lightyellow]",
        "").replace("[I]",
                    "").replace("[/I]",
                                "").replace("[/COLOR]",
                                            "").replace("[Multiparser]",
                                                        "").strip()
    title = title.replace(" ", "+").strip()
    title = title.lower().strip()
    url = 'http://www.mundoplus.tv/programacion/buscador.php?canal=g_todos&fecha=TODAS&buscar=' + title
    params["url"] = url
    try:
        url = params.get("url")
        referer = 'http://www.mundoplus.tv'
        mundoplus1(params)
    except:
        pass

    plugintools.setview("biglist")
Example #2
0
def ciberdocus3(params):
	plugintools.setview("tvshows")

	fanart = params.get("fanart")
	thumbnail = params.get("thumbnail")
	title = params.get("title")
	recursividad = params.get("extra")

	if recursividad == "1":
		buscar=""
		buscar = plugintools.keyboard_input().replace(" ", "+")
		url_busca="http://www.ciberdocumentales.com/index.php?keysrc="+buscar+"&categoria=0"

	else:
		url_busca = params.get("url")

	#headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0', "Referer": url}
	#r=requests.get(url, headers=headers)
	data = plugintools.read(url_busca)	
	

	
	group_channel = plugintools.find_single_match(data,'var xajaxRequestUri="(.*?)<div id="paginador">')
	plugintools.log("group_channel= "+group_channel)
	cada_canal = plugintools.find_multiple_matches(group_channel,'<div class="fotonoticia">(.*?)>Ha sido visto')	

	for item in cada_canal:
		plugintools.log("item= "+item)
		
		url_canal=plugintools.find_single_match(item,'<div class="opcionesbot"><a target="_blank" href="(.*?)"')
		titulo_canal=plugintools.find_single_match(item,'alt="(.*?)"')
		caratula_canal='http://www.ciberdocumentales.com'+plugintools.find_single_match(item,'src="(.*?)"')

		##Capturo la Sinopsis en un Diccionario para usarla en "plugintools.add_item(" mediante la variable "info_labels"
		sinopsis = plugintools.find_single_match(item,'h3></a><br /><br />(.*?)</div>')
		plugintools.log("Sinopsis= "+sinopsis)
		datamovie = {}
		datamovie["Plot"]=sinopsis
		
		url_montada = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url='+url_canal+'%26referer='+url_ref
		plugintools.add_item(action="runPlugin", title=titulo_canal, url=url_montada, thumbnail=caratula_canal, info_labels=datamovie , fanart=fanart, folder = False, isPlayable=True)

	
	if recursividad == "1":
		#Resuelvo la posibilidad de mas de 1 Página en la Busqueda
		
		mas_pag = plugintools.find_single_match(data,'<div class="pagination">(.*?)</div>')
		##Si no está vacio... es decir, q hay mas de 1 página
		if len(mas_pag) > 1:
			cadena_busqueda='/index.php?keysrc='+buscar+'&categoria=0&page='
			total_pag=plugintools.find_multiple_matches(mas_pag, 'a href="([^"]+)')
			#Con esto te devuelve una lista: ['/index.php?keysrc=cine&categoria=0&page=2', '/index.php?keysrc=cine&categoria=0&page=3', '/index.php?keysrc=cine&categoria=0&page=2']

			ult_pag=int(total_pag[-2].replace(cadena_busqueda, ""))
			
			for num_pag in range(2, ult_pag+1):
				recursividad="0"
				url_pag=url_ref+'index.php?keysrc='+buscar+'&categoria=0&page='+str(num_pag)  ## Obtengo las páginas así: http://www.ciberdocumentales.com/index.php?keysrc=cine&categoria=0&page=2
				print url_pag
				plugintools.add_item(action="ciberdocus3",title="[COLORred][B]Página Numero: " + str(num_pag) + "  [/B][/COLOR]", url=url_pag, extra=recursividad,  thumbnail=thumbnail, fanart=fanart, folder=True, isPlayable=False)
Example #3
0
def ciberdocus2(params):
	plugintools.setview("tvshows")
	
	url = params.get("url")
	fanart = params.get("fanart")
	thumbnail = params.get("thumbnail")
	title = params.get("title")
	#headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0', "Referer": url}
	#r=requests.get(url, headers=headers)
	data = plugintools.read(url)	
		
	group_channel = plugintools.find_single_match(data,'var xajaxRequestUri="(.*?)<div id="paginador">')
	plugintools.log("group_channel= "+group_channel)
	cada_canal = plugintools.find_multiple_matches(group_channel,'<div class="fotonoticia">(.*?)data-layout="standard"')	

	for item in cada_canal:
		plugintools.log("item= "+item)
		
		url_canal=plugintools.find_single_match(item,'" data-href="(.*?)"')
		titulo_canal=plugintools.find_single_match(item,'alt="(.*?)"')
		caratula_canal='http://www.ciberdocumentales.com'+plugintools.find_single_match(item,'src="(.*?)"')

		##Capturo la Sinopsis en un Diccionario para usarla en "plugintools.add_item(" mediante la variable "info_labels"
		sinopsis = plugintools.find_single_match(item,'h3></a><br /><br />(.*?)</div>')
		plugintools.log("Sinopsis= "+sinopsis)
		datamovie = {}
		datamovie["Plot"]=sinopsis

		url_montada = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url='+url_canal+'%26referer='+url_ref
		plugintools.add_item(action="runPlugin", title=titulo_canal, url=url_montada, thumbnail=caratula_canal, info_labels=datamovie , fanart=fanart, folder = False, isPlayable=True)
Example #4
0
def mundoplus1(params):
    plugintools.log("[tv.ultra.7k 0.3.3].Mundoplus.tv búsqueda "+repr(params))

    sinopsis = params.get("plot")
    datamovie = {}
    datamovie["Plot"]=sinopsis

    thumbnail = params.get("thumbnail")
    if thumbnail == "":
        thumbnail = 'http://www.mundoplus.tv/tpl/v3.1/logo_mundoplus.png'

    texto=params.get("plot");url=params.get("url");
    plugintools.add_item(action="", title= '[COLOR royalblue][B]MUNDOPLUS.TV /[/B][/COLOR] [COLOR white]Resultados de la búsqueda: [I][B]"'+texto+'"[/B][/I][/COLOR]', url = "", info_labels = datamovie , thumbnail = thumbnail , fanart = fanart , folder = False, isPlayable = False)
   
    referer = url
    data = gethttp_referer_headers(url,referer)
    plugintools.log("data= "+data)

    block_matches = plugintools.find_single_match(data, "Buscador</h1>(.*?)</body>")
    matches = plugintools.find_multiple_matches(block_matches, '<div>(.*?)</div>')
    for entry in matches:
        plugintools.log("entry= "+entry)
        hora_match = plugintools.find_single_match(entry, '<b>(.*?)</b>')
        plugintools.log("hora_match= "+hora_match)
        title_match = entry.replace("<span>", "").replace("</span>", "").replace("<b>", "[B]").replace("</b>", "[/B]").strip()
        channel_match = plugintools.find_single_match(entry, '<span>(.*?)<span>')
        channel_match = channel_match.strip()
        if channel_match == "Cuatro":
            channel_match = channel_match.replace("Cuatro", "[COLOR red]Cuatro[/COLOR]")
        if channel_match == "Energy":
            channel_match = channel_match.replace("Energy", "[COLOR orange]Energy[/COLOR]")
        if channel_match == "Telecinco":
            channel_match = channel_match.replace("Telecinco", "[COLOR blue]Telecinco[/COLOR]")
        if channel_match == "La Sexta":
            channel_match = channel_match.replace("La Sexta", "[COLOR green]laSexta[/COLOR]")
        if channel_match == "Fox":
            channel_match = channel_match.replace("Fox", "[COLOR blue]Fox[/COLOR]")             
        day_match = plugintools.find_single_match(entry, '<span>(.*?)</span>')
        day_match = day_match.split("<span>")
        day_match = day_match[1].strip()
        event_match = entry.split("</b>")
        event_match = event_match[1]
        plugintools.log("event_match= "+event_match)
        plugintools.log("channel_match= "+channel_match)
        plugintools.log("day_match= "+day_match)        
        plugintools.log("title_match= "+title_match)
        title_fixed = '[COLOR lightyellow]'+day_match+'/[COLOR lightyellow][B]'+hora_match+' [/B][/COLOR][COLOR lightgreen]'+channel_match+'[/COLOR][COLOR white] '+event_match+'[/COLOR]'
        plugintools.add_item(action="", title= title_fixed, url="", thumbnail = thumbnail, info_labels = datamovie , fanart = fanart , folder = False, isPlayable = False)

    plugintools.setview("biglist")
Example #5
0
def ciberdocus1(params):
	plugintools.setview("tvshows")

	url = params.get("url")
	fanart = params.get("fanart")
	thumbnail = params.get("thumbnail")
	title = params.get("title")
	#headers = {"User-Agent": 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0', "Referer": url}
	#r=requests.get(url, headers=headers)
	data = plugintools.read(url)	
	
	group_channel = plugintools.find_single_match(data,'var xajaxRequestUri="(.*?)<div id="paginador">')
	plugintools.log("group_channel= "+group_channel)
	cada_canal = plugintools.find_multiple_matches(group_channel,'<div class="fotonoticia">(.*?)data-layout="standard"')	

	for item in cada_canal:
		plugintools.log("item= "+item)
		
		url_canal=plugintools.find_single_match(item,'" data-href="(.*?)"')
		titulo_canal=plugintools.find_single_match(item,'alt="(.*?)"')
		caratula_canal='http://www.ciberdocumentales.com'+plugintools.find_single_match(item,'src="(.*?)"')

		##Capturo la Sinopsis en un Diccionario para usarla en "plugintools.add_item(" mediante la variable "info_labels"
		sinopsis = plugintools.find_single_match(item,'h3></a><br /><br />(.*?)</div>')
		plugintools.log("Sinopsis= "+sinopsis)
		datamovie = {}
		datamovie["Plot"]=sinopsis
		
		url_montada = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url='+url_canal+'%26referer='+url_ref
		plugintools.add_item(action="runPlugin", title=titulo_canal, url=url_montada, thumbnail=caratula_canal, info_labels=datamovie , fanart=fanart, folder = False, isPlayable=True)

	#Resuelvo la posibilidad de mas de 1 Página en la Categoría

	mas_pag = plugintools.find_single_match(data,'<div class="pagination">(.*?)</div>')

	#En busca meto la url (http://www.ciberdocumentales.com/videos/2/historia/) "menos" la cadena del comienzo (http://www.ciberdocumentales.com/) para obtener esto "videos/2/historia/"
	busca = url.lstrip(url_ref)
	
	lista_paginas = plugintools.find_multiple_matches(mas_pag,busca+'([^/]+)')
	#Con esto te devuelve una lista: ['2' , '3', '4', ... '41', '2']... y como el q me interesa es el penúltimo (41)... lo obtengo así:
	ult_pag = int(lista_paginas[-2])
	
	for num_pag in range(2, ult_pag+1):
		
		url_pag = url+str(num_pag)+'/'  ## Obtengo las páginas así: http://www.ciberdocumentales.com/videos/2/historia/3
		plugintools.add_item(action="ciberdocus2",title="[COLORred][B]Página Numero: " + str(num_pag) + "  [/B][/COLOR]", url=url_pag,thumbnail=thumbnail, fanart=fanart, folder=True, isPlayable=False)
Example #6
0
def live9(params):
    plugintools.log("[%s %s] Iniciando Live9 ... " % (addonName, addonId))

    from datetime import datetime
    # Calculando día y hora actual
    ahora = datetime.now()
    mes = ahora.month
    if mes <= 9:
        mes = '0' + str(ahora.month)
    time_now = str(ahora.day) + '/' + str(mes)

    plugintools.add_item(action="",
                         title='[COLOR green][B]Live9[/B][/COLOR]',
                         url="",
                         thumbnail=thumbnail,
                         fanart=fanart,
                         folder=False,
                         isPlayable=False)
    plugintools.add_item(
        action="",
        title='[COLOR lightyellow][B]All times CET (GMT +2)[/B][/COLOR]',
        url="",
        thumbnail=thumbnail,
        fanart=fanart,
        folder=False,
        isPlayable=False)

    url = 'http://live9.net/'
    referer = 'http://live9.net/'

    data = gethttp_referer_headers(url, referer)
    plugintools.log("data= " + data)

    dia_prog = plugintools.find_single_match(data, "<h4>(.*?)</h4>")

    matches = plugintools.find_single_match(data, '2015</h4>(.*?)</body>')
    plugintools.log("matches= " + matches)
    time_past = ""

    event = plugintools.find_multiple_matches(matches, '(.*?)</a>')

    for entry in event:
        plugintools.log("entry= " + entry)
        if time_past == "":
            time_past = 0
        sport_event = plugintools.find_single_match(entry, '<b>(.*?)</b>')
        time_event = plugintools.find_single_match(entry, '(.*?)<font')
        time_event = time_event.replace('<div class="list">', "").strip()
        plugintools.log("time_event= " + time_event)
        time_event = time_event.replace("<br/>", "").strip()
        hora_event = time_event[0:2]
        if hora_event == "00":
            hora_event = "24"
        plugintools.log("hora_event= " + hora_event)
        if hora_event == "":
            continue
        resta = int(hora_event) - int(time_past)
        print resta

        if resta < 0:
            fecha_hoy = datetime.strptime("hora_event", '%d/%m')
            print 'fecha_hoy', fecha_hoy
            time_event = fecha_hoy + 1
            time_event = str(time_event.day) + '/' + str(time_event.month)
            plugintools.log("time_event= " + time_event)
        else:
            time_past = time_event[0:2]
            plugintools.log("time_past= " + time_past)
        title_event = plugintools.find_single_match(entry, '</font> (.*?)<a')
        url_event = plugintools.find_single_match(entry, '<a href="([^"]+)')
        ch_event = plugintools.find_single_match(entry, '">Channel([^\n]+)')
        ch_event = 'Channel' + ch_event
        url = 'plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3dstreams%26url=' + url_event + '%26referer=http://live9.net'
        title = '[COLOR gold]' + time_now + '[/COLOR][COLOR orange][B] ' + time_event + '[/B][/COLOR][COLOR lightyellow] ' + sport_event + ': ' + title_event + '(' + ch_event + ')[/COLOR][COLOR lightgreen][I] [Live9][/I][/COLOR]'
        plugintools.log("time_event= " + time_event)
        plugintools.log("sport_event= " + sport_event)
        plugintools.log("URL= " + url)
        plugintools.add_item(action="play",
                             title=title,
                             url=url,
                             thumbnail=thumbnail,
                             fanart=fanart,
                             folder=False,
                             isPlayable=False)

    plugintools.setview("files")
Example #7
0
import xbmcaddon
import xbmcplugin

import plugintools
import requests
from resources.tools.resolvers import *

playlists = xbmc.translatePath(os.path.join('special://userdata/playlists', ''))
temp = xbmc.translatePath(os.path.join('special://userdata/playlists/tmp', ''))

addonName           = xbmcaddon.Addon().getAddonInfo("name")
addonVersion        = xbmcaddon.Addon().getAddonInfo("version")
addonId             = xbmcaddon.Addon().getAddonInfo("id")
addonPath           = xbmcaddon.Addon().getAddonInfo("path")

plugintools.setview("tvshows")


url = 'http://www.ciberdocumentales.com/'
url_ref = 'http://www.ciberdocumentales.com/'

mi_firma = "Movie Ultra 7K"

def ciberdocus0(params):
	plugintools.log("[%s %s] Parser CiberDocumentales.com... %s " % (addonName, addonVersion, repr(params)))

	thumbnail = 'https://copy.com/JhmdrPEUNmNGq1YQ'
	fanart = 'https://copy.com/CYGZetMiHo02ghWK'

	plugintools.add_item(action="",url="",title="[COLOR blue][B]CiberDocumentales[/B][/COLOR]",thumbnail=thumbnail,fanart=fanart,folder=False,isPlayable=False)
	plugintools.add_item(action="",url="",title="",thumbnail=thumbnail, fanart=fanart, folder=False, isPlayable=False)
Example #8
0
def chapter_urls(params):
    plugintools.log("[%s %s] Seriesflv regex... %s " %
                    (addonName, addonVersion, repr(params)))
    thumbnail = params.get("thumbnail")
    if thumbnail == "":
        thumbnail = 'http://m1.paperblog.com/i/249/2490697/seriesflv-mejor-alternativa-series-yonkis-L-2whffw.jpeg'
    fanart = 'http://www.nikopik.com/wp-content/uploads/2011/10/S%C3%A9ries-TV.jpg'

    datamovie = {}
    datamovie["Plot"] = params.get("plot")

    url = params.get("url")
    title = params.get("title")
    title_fixed = title.split("(")
    if len(title_fixed) >= 2:
        title_fixed = title_fixed[0].strip()
    else:
        title_fixed = title_fixed[0].strip()
    data = gethttp_referer_headers(url, referer)
    thumbnail = plugintools.find_single_match(
        data, '<meta property="og:image" content="(.*?)"/>')
    if thumbnail == "":
        thumbnail = 'http://m1.paperblog.com/i/249/2490697/seriesflv-mejor-alternativa-series-yonkis-L-2whffw.jpeg'

    match_urls = plugintools.find_single_match(
        data, '<div id="enlaces">(.*?)</table>')
    block_url = plugintools.find_multiple_matches(match_urls, '<tr>(.*?)</tr>')
    for entry in block_url:
        # Localizamos el idioma del audio (o subtítulos)
        if entry.find("http://www.seriesflv.net/images/lang/es.png") >= 0:
            lang = "[Castellano]"
        elif entry.find("http://www.seriesflv.net/images/lang/sub.png") >= 0:
            lang = "[Subtitulado]"
        elif entry.find("http://www.seriesflv.net/images/lang/en.png") >= 0:
            lang = "[English]"
        elif entry.find("http://www.seriesflv.net/images/lang/lat.png") >= 0:
            lang = "[Latino]"
        else:
            lang = "[Castellano]"

        #plugintools.log("block_url= "+entry)
        server_name = plugintools.find_single_match(
            entry,
            '<td width="134" style="text-align:left;" class="e_server"><img width="16" src="([^"]+)"'
        )
        server_name = server_name.split("domain=")
        if len(server_name) >= 2:
            server_name = server_name[1].strip()
            #plugintools.log("server_name= "+server_name)
            print title_fixed
            url = plugintools.find_single_match(
                entry, '<td width="84"><a href="([^"]+)"')
            url = getlinkflv(url)
            if url == "": pass
            else:
                if url.find("allmyvideos") >= 0:
                    server_url = "[COLOR lightgreen][I][allmyvideos][/I][/COLOR]"
                    plugintools.add_item(
                        action="allmyvideos",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("vidspot") >= 0:
                    server_url = "[COLOR lightgreen][I][vidspot][/I][/COLOR]"
                    plugintools.add_item(
                        action="vidspot",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("played.to") >= 0:
                    server_url = "[COLOR lightgreen][I][played.to][/I][/COLOR]"
                    plugintools.add_item(
                        action="playedto",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("nowvideo") >= 0:
                    server_url = "[COLOR lightgreen][I][nowvideo][/I][/COLOR]"
                    plugintools.add_item(
                        action="nowvideo",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("streamin.to") >= 0:
                    server_url = "[COLOR lightgreen][I][streamin.to][/I][/COLOR]"
                    plugintools.add_item(
                        action="streaminto",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("vk") >= 0:
                    server_url = "[COLOR lightgreen][I][vk][/I][/COLOR]"
                    plugintools.add_item(
                        action="vk",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("tumi") >= 0:
                    server_url = "[COLOR lightgreen][I][tumi][/I][/COLOR]"
                    plugintools.add_item(
                        action="tumi",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("streamcloud") >= 0:
                    server_url = "[COLOR lightgreen][I][streamcloud][/I][/COLOR]"
                    plugintools.add_item(
                        action="streamcloud",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("veehd") >= 0:
                    server_url = "[COLOR lightgreen][I][veehd][/I][/COLOR]"
                    plugintools.add_item(
                        action="veehd",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("powvideo") >= 0:
                    server_url = "[COLOR lightgreen][I][powvideo][/I][/COLOR]"
                    plugintools.add_item(
                        action="powvideo",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("novamov") >= 0:
                    server_url = "[COLOR lightgreen][I][novamov][/I][/COLOR]"
                    plugintools.add_item(
                        action="novamov",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("moevideos") >= 0:
                    server_url = "[COLOR lightgreen][I][moevideos][/I][/COLOR]"
                    plugintools.add_item(
                        action="moevideos",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("movshare") >= 0:
                    server_url = "[COLOR lightgreen][I][movshare][/I][/COLOR]"
                    plugintools.add_item(
                        action="movshare",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("movreel") >= 0:
                    server_url = "[COLOR lightgreen][I][movreel][/I][/COLOR]"
                    plugintools.add_item(
                        action="movshare",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("gamovideo") >= 0:
                    server_url = "[COLOR lightgreen][I][gamovideo][/I][/COLOR]"
                    plugintools.add_item(
                        action="gamovideo",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("videobam") >= 0:
                    server_url = "[COLOR lightgreen][I][videobam][/I][/COLOR]"
                    plugintools.add_item(
                        action="videobam",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("videoweed") >= 0:
                    server_url = "[COLOR lightgreen][I][videoweed][/I][/COLOR]"
                    plugintools.add_item(
                        action="videoweed",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("streamable") >= 0:
                    server_url = "[COLOR lightgreen][I][streamable][/I][/COLOR]"
                    plugintools.add_item(
                        action="streamable",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("rocvideo") >= 0:
                    server_url = "[COLOR lightgreen][I][rocvideo][/I][/COLOR]"
                    plugintools.add_item(
                        action="rocvideo",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("realvid") >= 0:
                    server_url = "[COLOR lightgreen][I][realvid][/I][/COLOR]"
                    plugintools.add_item(
                        action="realvid",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("netu") >= 0:
                    server_url = "[COLOR lightgreen][I][netu][/I][/COLOR]"
                    plugintools.add_item(
                        action="netu",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("videomega") >= 0:
                    server_url = "[COLOR lightgreen][I][videomega][/I][/COLOR]"
                    plugintools.add_item(
                        action="videomega",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("video.tt") >= 0:
                    server_url = "[COLOR lightgreen][I][video.tt][/I][/COLOR]"
                    plugintools.add_item(
                        action="videott",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)
                elif url.find("flashx.tv") >= 0:
                    server_url = "[COLOR lightgreen][I][flashx][/I][/COLOR]"
                    plugintools.add_item(
                        action="flashx",
                        title='[COLOR white]' + title_fixed +
                        ' [/COLOR][COLOR lightyellow][I](' + server_name +
                        ')[/I][/COLOR]  [COLOR lightgreen][I]' + lang +
                        '[/I][/COLOR]',
                        url=url,
                        info_labels=datamovie,
                        fanart=fanart,
                        thumbnail=thumbnail,
                        folder=False,
                        isPlayable=True)

    plugintools.setview("series")