Ejemplo n.º 1
0
def listchannels(params, url, category):
    xbmc.output("[channelselector.py] listchannels")

    # Verifica actualizaciones solo en el primer nivel
    if xbmcplugin.getSetting("updatecheck2") == "true":
        xbmc.output("updatecheck2=true")
        import updater

        updater.checkforupdates()
    else:
        xbmc.output("updatecheck2=false")

    CHANNELNAME = "kideoschannel"
    xbmctools.addnewfolder(CHANNELNAME, "ageslist", CHANNELNAME, xbmc.getLocalizedString(30501), "", "", "")
    xbmctools.addnewfolder(CHANNELNAME, "categorylist", CHANNELNAME, xbmc.getLocalizedString(30502), "", "", "")
    xbmctools.addnewfolder(CHANNELNAME, "userlist", CHANNELNAME, xbmc.getLocalizedString(30503), "", "", "")
    xbmctools.addnewfolder("configuracion", "mainlist", "configuracion", xbmc.getLocalizedString(30504), "", "", "")
    xbmctools.addnewfolder("descargados", "mainlist", "descargados", xbmc.getLocalizedString(30505), "", "", "")

    # Label (top-right)...
    xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category="Canales")

    # Disable sorting...
    xbmcplugin.addSortMethod(handle=int(sys.argv[1]), sortMethod=xbmcplugin.SORT_METHOD_NONE)

    # End of directory...
    xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
Ejemplo n.º 2
0
def listchannels(params,url,category):
	xbmc.output("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	if xbmcplugin.getSetting("updatecheck2") == "true":
		xbmc.output("updatecheck2=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck2=false")

	CHANNELNAME = "kideoschannel"
	xbmctools.addnewfolder( CHANNELNAME , "ageslist" , CHANNELNAME , xbmc.getLocalizedString( 30501 ) , "" , "", "" )
	xbmctools.addnewfolder( CHANNELNAME , "categorylist" , CHANNELNAME , xbmc.getLocalizedString( 30502 ) , "" , "", "" )
	xbmctools.addnewfolder( CHANNELNAME , "userlist" , CHANNELNAME , xbmc.getLocalizedString( 30503 ) , "" , "", "" )
	xbmctools.addnewfolder( "configuracion" , "mainlist" , "configuracion" , xbmc.getLocalizedString( 30504 ) , "" , "", "" )
	xbmctools.addnewfolder( "descargados" , "mainlist" , "descargados" , xbmc.getLocalizedString( 30505 ) , "" , "", "" )

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
		
	# Disable sorting...
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )

	# End of directory...
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
Ejemplo n.º 3
0
def listchannels(params,url,category):
	xbmc.output("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	if xbmcplugin.getSetting("updatecheck2") == "true":
		xbmc.output("updatecheck2=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck2=false")

	CHANNELNAME = "totlolchannel"
	xbmctools.addnewfolder( CHANNELNAME , "search" , CHANNELNAME , xbmc.getLocalizedString( 30501 ) , "" , "", "" )

	lines = savedsearch.readsavedsearches()
	for line in lines:
		xbmctools.addnewfolder( CHANNELNAME , "videolist" , CHANNELNAME , xbmc.getLocalizedString( 30501 )+' "'+line.strip()+'"' , 'http://www.totlol.com/search?search_id='+line.strip() , "", "" )

	xbmctools.addnewfolder( "configuracion" , "mainlist" , "configuracion" , xbmc.getLocalizedString( 30504 ) , "" , "", "" )
	xbmctools.addnewfolder( "descargados" , "mainlist" , "descargados" , xbmc.getLocalizedString( 30505 ) , "" , "", "" )

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
		
	# Disable sorting...
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )

	# End of directory...
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def listchannels(params,url,category):
	logger.info("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	try:
		import updater
	except ImportError:
		logger.info("[channelselector.py] No disponible modulo actualizaciones")
	else:
		if config.getSetting("updatecheck2") == "true":
			logger.info("[channelselector.py] Verificar actualizaciones activado")
			updater.checkforupdates()
		else:
			logger.info("[channelselector.py] Verificar actualizaciones desactivado")

#	addfolder("Antena3","a3","mainlist")
#	addfolder("ADNStream","adnstream","mainlist")
#	addfolder("Barcelona TV","barcelonatv","mainlist")
#	addfolder("Clan TV","clantv","mainlist")
#	addfolder("El cine de las 3 mellizas","tresmellizas","mainlist")
#	addfolder("Boing","boing","mainlist")
#	#addfolder("Totlol","totlol","mainlist")
#	addfolder("EITB","eitb","mainlist")
#	addfolder("Extremadura TV","extremaduratv","mainlist")
#	addfolder("Hogarutil","hogarutil","mainlist")
#	addfolder("Plus TV","plus","mainlist")
#	addfolder("Andalucia TV","rtva","mainlist")
#	addfolder("TVE","rtve","mainlist")
#	addfolder("TVE Programas","rtveprogramas","mainlist")
#	addfolder("TVE Mediateca","rtvemediateca","mainlist")
#	#addfolder("TV Azteca","tva","mainlist")
#	addfolder("Berria TB","berriatb","mainlist")
#	addfolder("Earth TV","earthtv","mainlist")
#	addfolder("Euronews","euronews","mainlist")
#	addfolder("Comunidad Valenciana","rtvv","mainlist")
#	#addfolder("Terra TV","terratv","mainlist")
#	addfolder("Turbonick","turbonick","mainlist")
#	addfolder("TV3","tv3","mainlist")
#	addfolder("TVG","tvg","mainlist")
#	addfolder("Mallorca TV","tvmallorca","mainlist")
#	addfolder("Meristation","meristation","mainlist")
#	addfolder("7rm","sieterm","mainlist")
#	addfolder("Televisión Canaria","rtvc","mainlist")
#	addfolder("Internautas TV","internautastv","mainlist")
#	addfolder("Publico.tv","publicotv","mainlist")
	addfolder("Σκαι: Οι Νεοι Φακελοι","skai_folders","mainlist")
	addfolder("Σκαι TV","skai_tv","mainlist")
	
	cadena = config.getLocalizedString(30100)
	logger.info("cadena="+cadena)
	addfolder(cadena,"configuracion","mainlist") # Configuracion
	if (parametrizacion.DOWNLOAD_ENABLED):
		addfolder(config.getLocalizedString(30101),"descargados","mainlist")   # Descargas
	addfolder(config.getLocalizedString(30102),"favoritos","mainlist")     # Favoritos

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def listchannels(params,url,category):
	xbmc.output("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	if xbmcplugin.getSetting("updatecheck2") == "true":
		xbmc.output("updatecheck=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck=false")

	addfolder("Antena3","a3","mainlist")
	addfolder("ADNStream","adnstream","mainlist")
	addfolder("Barcelona TV","barcelonatv","mainlist")
	addfolder("Clan TV","clantv","mainlist")
	addfolder("El cine de las 3 mellizas","tresmellizas","mainlist")
	addfolder("Boing","boing","mainlist")
	addfolder("EITB","eitb","mainlist")
	addfolder("Extremadura TV","extremaduratv","mainlist")
	addfolder("Hogarutil","hogarutil","mainlist")
	addfolder("Plus TV","plus","mainlist")
	addfolder("Andalucia TV","rtva","mainlist")
	addfolder("TVE","rtve","mainlist")
	addfolder("TVE Programas","rtveprogramas","mainlist")
	addfolder("TVE Mediateca","rtvemediateca","mainlist")
	#addfolder("TV Azteca","tva","mainlist")
	addfolder("Berria TB","berriatb","mainlist")
	addfolder("Earth TV","earthtv","mainlist")
	addfolder("Euronews","euronews","mainlist")
	addfolder("Comunidad Valenciana","rtvv","mainlist")
	#addfolder("Terra TV","terratv","mainlist")
	addfolder("Turbonick","turbonick","mainlist")
	addfolder("TV3","tv3","mainlist")
	addfolder("TVG","tvg","mainlist")
	addfolder("Mallorca TV","tvmallorca","mainlist")
	addfolder("Meristation","meristation","mainlist")
	addfolder("7rm","sieterm","mainlist")
	addfolder("Televisión Canaria","rtvc","mainlist")
	addfolder("Internautas TV","internautastv","mainlist")
	addfolder("Publico.tv","publicotv","mainlist")
	addfolder("Favoritos","favoritos","mainlist")
	addfolder("Descargas","descargados","mainlist")
	addfolder("Configuración","configuracion","mainlist")

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
		
	# Disable sorting...
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )

	# End of directory...
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
Ejemplo n.º 6
0
def mainlist(params,url,category):
	xbmc.output("[goear.py] mainlist")

	# Verifica actualizaciones solo en el primer nivel
	if xbmcplugin.getSetting("updatecheck2") == "true":
		xbmc.output("updatecheck2=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck2=false")

	addnewfolder( "categorias"   , "Categorías"    , "http://www.goear.com/categories.php" )
	addnewfolder( "grupos"       , "Grupos"        , "http://www.goear.com/groups.php" )
	addnewfolder( "search"       , "Buscar"        , "" )
	addnewfolder( "configuracion", "Configuración" , "" )

	# Cierra el directorio
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def listchannels(params,url,category):
	xbmc.output("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	if xbmcplugin.getSetting("updatecheck2") == "true":
		xbmc.output("updatecheck=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck=false")

	addfolder("Tivion","tivion","mainlist")
	addfolder("Delicast","delicast","mainlist")
	addfolder("TheHaine","thehaine","mainlist")
	addfolder("Favoritos","favoritos","mainlist")
	addfolder("Configuración","configuracion","mainlist")

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
Ejemplo n.º 8
0
def mainlist(params,url,category):
    logger.info("[channelselector.py] mainlist")

    # Verifica actualizaciones solo en el primer nivel
    try:
        import updater
    except ImportError:
        logger.info("[channelselector.py] No disponible modulo actualizaciones")
    else:
        if config.getSetting("updatecheck2") == "true":
            logger.info("[channelselector.py] Verificar actualizaciones activado")
            updater.checkforupdates()
        else:
            logger.info("[channelselector.py] Verificar actualizaciones desactivado")

    idioma = config.getSetting("languagefilter")
    logger.info("[channelselector.py] idioma=%s" % idioma)
    langlistv = [config.getLocalizedString(30025),config.getLocalizedString(30026),config.getLocalizedString(30027),config.getLocalizedString(30028),config.getLocalizedString(30029)]
    try:
        idiomav = langlistv[int(idioma)]
    except:
        idiomav = langlistv[0]
    #logger.info("[channelselector.py] idiomav=%s" % idiomav)

    addfolder(config.getLocalizedString(30118)+" ("+idiomav+")","channelselector","channeltypes")
    #searchwebs=": Cinetube,Peliculasyonkis,Cinegratis,tumejortv.com,Peliculas21,Cine15,Seriesyonkis,Yotix.tv,DocumaniaTV,Discoverymx,Stagevu,tu.tv"
    #channelslist.append([ config.getLocalizedString(30103)+searchwebs , "buscador" , "Buscador" , "" , "B" ])# Buscador
    addfolder(config.getLocalizedString(30103),"buscador"       ,"mainlist")
    addfolder(config.getLocalizedString(30128),"trailertools"   ,"mainlist")
    addfolder(config.getLocalizedString(30102),"favoritos"      ,"mainlist")
    if (DOWNLOAD_ENABLED):
        addfolder(config.getLocalizedString(30101),"descargados","mainlist")
    addfolder(config.getLocalizedString(30100),"configuracion"  ,"mainlist")
    addfolder(config.getLocalizedString(30104),"ayuda"          ,"mainlist")

    # Label (top-right)...
    import xbmcplugin
    xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="" )
    xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )
    xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
Ejemplo n.º 9
0
def mainlist(params, url, category):
    xbmc.output("[goear.py] mainlist")

    # Verifica actualizaciones solo en el primer nivel
    if xbmcplugin.getSetting("updatecheck2") == "true":
        xbmc.output("updatecheck2=true")
        import updater
        updater.checkforupdates()
    else:
        xbmc.output("updatecheck2=false")

    addnewfolder("categorias", "Categorías",
                 "http://www.goear.com/categories.php")
    addnewfolder("grupos", "Grupos", "http://www.goear.com/groups.php")
    addnewfolder("search", "Buscar", "")
    addnewfolder("configuracion", "Configuración", "")

    # Cierra el directorio
    xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category="Canales")
    xbmcplugin.addSortMethod(handle=int(sys.argv[1]),
                             sortMethod=xbmcplugin.SORT_METHOD_NONE)
    xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
Ejemplo n.º 10
0
def listchannels(params, url, category):
    xbmc.output("[channelselector.py] listchannels")

    # Verifica actualizaciones solo en el primer nivel
    if xbmcplugin.getSetting("updatecheck2") == "true":
        xbmc.output("updatecheck=true")
        import updater
        updater.checkforupdates()
    else:
        xbmc.output("updatecheck=false")

    addfolder("Tivion", "tivion", "mainlist")
    addfolder("Delicast", "delicast", "mainlist")
    addfolder("TheHaine", "thehaine", "mainlist")
    addfolder("Favoritos", "favoritos", "mainlist")
    addfolder("Configuración", "configuracion", "mainlist")

    # Label (top-right)...
    xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category="Canales")
    xbmcplugin.addSortMethod(handle=int(sys.argv[1]),
                             sortMethod=xbmcplugin.SORT_METHOD_NONE)
    xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
Ejemplo n.º 11
0
def listchannels(params, url, category):
    xbmc.output("[channelselector.py] listchannels")

    # Verifica actualizaciones solo en el primer nivel
    if xbmcplugin.getSetting("updatecheck2") == "true":
        xbmc.output("updatecheck2=true")
        import updater
        updater.checkforupdates()
    else:
        xbmc.output("updatecheck2=false")

    CHANNELNAME = "totlolchannel"
    xbmctools.addnewfolder(CHANNELNAME, "search", CHANNELNAME,
                           xbmc.getLocalizedString(30501), "", "", "")

    lines = savedsearch.readsavedsearches()
    for line in lines:
        xbmctools.addnewfolder(
            CHANNELNAME, "videolist", CHANNELNAME,
            xbmc.getLocalizedString(30501) + ' "' + line.strip() + '"',
            'http://www.totlol.com/search?search_id=' + line.strip(), "", "")

    xbmctools.addnewfolder("configuracion", "mainlist", "configuracion",
                           xbmc.getLocalizedString(30504), "", "", "")
    xbmctools.addnewfolder("descargados", "mainlist", "descargados",
                           xbmc.getLocalizedString(30505), "", "", "")

    # Label (top-right)...
    xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category="Canales")

    # Disable sorting...
    xbmcplugin.addSortMethod(handle=int(sys.argv[1]),
                             sortMethod=xbmcplugin.SORT_METHOD_NONE)

    # End of directory...
    xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
Ejemplo n.º 12
0
def listchannels(params, url, category):
    logger.info("[channelselector.py] listchannels")

    # Verifica actualizaciones solo en el primer nivel
    try:
        import updater
    except ImportError:
        logger.info(
            "[channelselector.py] No disponible modulo actualizaciones")
    else:
        if config.get_setting("updatecheck2") == "true":
            logger.info(
                "[channelselector.py] Verificar actualizaciones activado")
            updater.checkforupdates()
        else:
            logger.info(
                "[channelselector.py] Verificar actualizaciones desactivado")

    addfolder("Antena3", "antena3", "mainlist")
    addfolder("ADNStream", "adnstream", "mainlist")
    addfolder("Barcelona TV", "barcelonatv", "mainlist")
    addfolder("Clan TV", "clantve", "mainlist")
    addfolder("El cine de las 3 mellizas", "tresmellizas", "mainlist")
    #addfolder("Boing","boing","mainlist")
    #addfolder("Totlol","totlol","mainlist")
    addfolder("EITB", "eitb", "mainlist")
    addfolder("Extremadura TV", "extremaduratv", "mainlist")
    addfolder("Hogarutil", "hogarutil", "mainlist")
    addfolder("Plus TV", "plus", "mainlist")
    addfolder("Andalucia TV", "rtva", "mainlist")
    addfolder("TVE", "rtve", "mainlist")
    addfolder("TVE Programas", "rtveprogramas", "mainlist")
    addfolder("TVE Mediateca", "rtvemediateca", "mainlist")
    #addfolder("TV Azteca","tva","mainlist")
    addfolder("Berria TB", "berriatb", "mainlist")
    addfolder("Earth TV", "earthtv", "mainlist")
    addfolder("Euronews", "euronews", "mainlist")
    addfolder("Comunidad Valenciana", "rtvv", "mainlist")
    #addfolder("Terra TV","terratv","mainlist")
    addfolder("Turbonick", "turbonick", "mainlist")
    addfolder("TV3", "tv3", "mainlist")
    addfolder("TVG", "tvg", "mainlist")
    addfolder("Mallorca TV", "tvmallorca", "mainlist")
    addfolder("Meristation", "meristation", "mainlist")
    addfolder("7rm", "sieterm", "mainlist")
    addfolder("Televisión Canaria", "rtvc", "mainlist")
    addfolder("Internautas TV", "internautastv", "mainlist")
    addfolder("Publico.tv", "publicotv", "mainlist")

    cadena = config.get_localized_string(30100)
    logger.info("cadena=" + cadena)
    addfolder(cadena, "configuracion", "mainlist")  # Configuracion
    if (parametrizacion.DOWNLOAD_ENABLED):
        addfolder(config.get_localized_string(30101), "descargados",
                  "mainlist")  # Descargas
    addfolder(config.get_localized_string(30102), "favoritos",
              "mainlist")  # Favoritos

    # Label (top-right)...
    xbmcplugin.setPluginCategory(handle=int(sys.argv[1]), category="Canales")
    xbmcplugin.addSortMethod(handle=int(sys.argv[1]),
                             sortMethod=xbmcplugin.SORT_METHOD_NONE)
    xbmcplugin.endOfDirectory(handle=int(sys.argv[1]), succeeded=True)
def listchannels(params,url,category):
	xbmc.output("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	if xbmctools.getPluginSetting("updatecheck2") == "true":
		xbmc.output("updatecheck2=true")
		import updater
		updater.checkforupdates()
	else:
		xbmc.output("updatecheck2=false")

#Lo pongo arriba para debuguear más facil, @jesus ponlo luego donde veas mejor.
	addfolder("Cinetube","cinetube","mainlist")
	addfolder("Peliculasyonkis","peliculasyonkis","mainlist")
	addfolder("Divx Online","divxonline","mainlist") # added by ermanitu
	addfolder("Cinegratis","cinegratis","mainlist")
	addfolder("tumejortv.com","tumejortv","mainlist")
	addfolder("Peliculas21","peliculas21","mainlist")
	addfolder("Dospuntocerovision","dospuntocerovision","mainlist")
	addfolder("Cine15","cine15","mainlist")
	#addfolder("SesionVIP","sesionvip","mainlist")
	addfolder("Peliculasid","peliculasid","mainlist")
	addfolder("Cinegratis24h","cinegratis24h","mainlist")
	addfolder("FilmesOnlineBr [Portugues]","filmesonlinebr","mainlist")
	addfolder("TVShack.net (VO)","tvshack","mainlist")
	addfolder("DeLaTV","delatv","mainlist")
	addfolder("Pelis24","pelis24","mainlist")
	addfolder("Veocine","veocine","mainlist")
	addfolder("Pintadibujos","pintadibujos","mainlist")
	addfolder("PeliculasEroticas","peliculaseroticas","mainlist")
	if xbmctools.getPluginSetting("enableadultmode") == "true":
		addfolder("MocosoftX","mocosoftx","mainlist")
	addfolder("Descarga Cine Clásico","descargacineclasico","mainlist")
	addfolder("Capitan Cinema","capitancinema","mainlist")
	addfolder("Film Streaming [IT]","filmstreaming","mainlist")
	addfolder("No Megavideo","nomegavideo","mainlist")
	addfolder("Seriesyonkis","seriesyonkis","mainlist","Series") #Modificado por JUR para añadir la categoría
	addfolder("Seriespepito","seriespepito","mainlist")
	addfolder("seriesonline.us","seriesonline","mainlist")
	addfolder("Series21","series21","mainlist")
	#addfolder("Newcineonline","newcineonline","mainlist")
	addfolder("CastTV [EN]","casttv","mainlist")
	addfolder("Ver Telenovelas Online","vertelenovelasonline","mainlist")
	addfolder("Anime Foros","animeforos","mainlist")
	addfolder("Yotix.tv","yotix","mainlist")
	addfolder("MCAnime","mcanime","mainlist")
	addfolder("Animetakus","animetakus","mainlist")
	addfolder("Ver-anime","veranime","mainlist")
	addfolder("Watchanimeon [EN]","watchanimeon","mainlist")
	addfolder("Animeid","animeid","mainlist")
	addfolder("Ovasid","ovasid","mainlist")
	addfolder("DocumaniaTV","documaniatv","mainlist")
	addfolder("DocumentariesTV [EN]","documentariestv","mainlist")
	addfolder("Documentalesyonkis","documentalesyonkis","mainlist")
	addfolder("Documentalesatonline","documentalesatonline","mainlist")
	addfolder("Discoverymx.Wordpress","discoverymx","mainlist")
	addfolder("Buscador de Trailers (Youtube)","trailertools","mainlist")
	addfolder("ecartelera (Trailers)","ecarteleratrailers","mainlist")
	addfolder("Stagevu","stagevusite","mainlist")
	addfolder("tu.tv","tutvsite","mainlist")
	addfolder("Megavideo","megavideosite","mainlist")
	addfolder("Megaupload","megauploadsite","mainlist")
	addfolder("Configuracion","configuracion","mainlist")
	addfolder("Descargas","descargados","mainlist")
	addfolder("Favoritos","favoritos","mainlist")
	addfolder("Buscador","buscador","mainlist")
	addfolder("Ayuda","ayuda","mainlist")
	

	#addfolder("Kochikame","kochikame","mainlist")
	#addfolder("PeliculasHD","peliculashd","mainlist")
	#addfolder("Pelis-Sevillista56","sevillista","mainlist")
	#addfolder("Wuapi","wuapisite","mainlist")
	#addfolder("Frozen Layer","frozenlayer","mainlist")

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
		
	# Disable sorting...
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )

	# End of directory...
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )
def listchannels(params,url,category):
	logger.info("[channelselector.py] listchannels")

	# Verifica actualizaciones solo en el primer nivel
	try:
		import updater
	except ImportError:
		logger.info("[pelisalacarta.py] No disponible modulo actualizaciones")
	else:
		if config.getSetting("updatecheck2") == "true":
			logger.info("[channelselector.py] Verificar actualizaciones activado")
			updater.checkforupdates()
		else:
			logger.info("[channelselector.py] Verificar actualizaciones desactivado")

	# Añade los canales
	addfolder("Cinetube","cinetube","mainlist")
	addfolder("Peliculasyonkis","peliculasyonkis","mainlist")
	#addfolder("Divx Online","divxonline","mainlist") # added by ermanitu
	addfolder("Cinegratis","cinegratis","mainlist")
	addfolder("tumejortv.com","tumejortv","mainlist")
	addfolder("Peliculas21","peliculas21","mainlist")
	addfolder("Dospuntocerovision","dospuntocerovision","mainlist")
	addfolder("Cine15","cine15","mainlist")
	#addfolder("Eduman Movies","edumanmovies","mainlist")
	#addfolder("SesionVIP","sesionvip","mainlist")
	addfolder("Peliculasid","peliculasid","mainlist")
	addfolder("Cinegratis24h","cinegratis24h","mainlist")
	addfolder("Cine-Adicto","cineadicto","mainlist")
	#addfolder("PelisFlv","pelisflv","mainlist")  # de momento queda apartado por falta de tiempo
	addfolder("NoloMires","nolomires","mainlist")
	addfolder("NewDivx","newdivx","mainlist")
	#addfolder("Pelis-Sevillista56","sevillista","mainlist")
	addfolder("FilmesOnlineBr [Portugues]","filmesonlinebr","mainlist")
	addfolder("TVShack.net (VO)","tvshack","mainlist")
	addfolder("DeLaTV","delatv","mainlist")
	addfolder("Pelis24","pelis24","mainlist")
	addfolder("Veocine","veocine","mainlist")
	addfolder("Pintadibujos","pintadibujos","mainlist")
	if config.getSetting("enableadultmode") == "true":
		addfolder("PeliculasEroticas","peliculaseroticas","mainlist")
		addfolder("MocosoftX","mocosoftx","mainlist")
		addfolder("Anifenix.com","anifenix","mainlist")
		addfolder("tuporno.tv","tupornotv","mainlist")
	addfolder("Descarga Cine Clásico","descargacineclasico","mainlist")
	addfolder("Capitan Cinema","capitancinema","mainlist")
	addfolder("Film Streaming [IT]","filmstreaming","mainlist")
	addfolder("No Megavideo","nomegavideo","mainlist")
	addfolder("LetMeWatchThis","letmewatchthis","mainlist")
	addfolder("Seriesyonkis","seriesyonkis","mainlist","Series") #Modificado por JUR para añadir la categoría
	addfolder("Seriespepito","seriespepito","mainlist")
	#addfolder("seriesonline.us","seriesonline","mainlist")
	addfolder("Series21","series21","mainlist")
	#addfolder("Newcineonline","newcineonline","mainlist")
	addfolder("CastTV","casttv","mainlist")
	addfolder("Ver Telenovelas Online","vertelenovelasonline","mainlist")
	addfolder("Anime Foros","animeforos","mainlist")
	addfolder("Yotix.tv","yotix","mainlist")
	addfolder("MCAnime","mcanime","mainlist")
	addfolder("Animetakus","animetakus","mainlist")
	addfolder("Ver-anime","veranime","mainlist")
	addfolder("Watchanimeon [EN]","watchanimeon","mainlist")
	addfolder("Animeid","animeid","mainlist")
	addfolder("Ovasid","ovasid","mainlist")
	addfolder("dibujosanimadosgratis.net","dibujosanimadosgratis","mainlist")
	addfolder("DocumaniaTV","documaniatv","mainlist")
	addfolder("DocumentariesTV [EN]","documentariestv","mainlist")
	addfolder("Documentalesyonkis","documentalesyonkis","mainlist")
	addfolder("Documentalesatonline","documentalesatonline","mainlist")
	addfolder("Discoverymx.Wordpress","discoverymx","mainlist")
	addfolder("Gratisdocumentales","gratisdocumentales","mainlist")
	addfolder("Redes.tv","redestv","mainlist")
	addfolder("Buscador de Trailers (Youtube)","trailertools","mainlist")
	addfolder("ecartelera (Trailers)","ecarteleratrailers","mainlist")
	addfolder("Stagevu","stagevusite","mainlist")
	addfolder("tu.tv","tutvsite","mainlist")
	addfolder("Megavideo","megavideosite","mainlist")
	addfolder("Megaupload","megauploadsite","mainlist")
	
	addfolder(config.getLocalizedString(30100),"configuracion","mainlist") # Configuracion
	
	if (parametrizacion.DOWNLOAD_ENABLED):
		addfolder(config.getLocalizedString(30101),"descargados","mainlist")   # Descargas
	addfolder(config.getLocalizedString(30102),"favoritos","mainlist")     # Favoritos
	addfolder(config.getLocalizedString(30103),"buscador","mainlist")      # Buscador
	addfolder(config.getLocalizedString(30104),"ayuda","mainlist")         # Ayuda

	#addfolder("Kochikame","kochikame","mainlist")
	#addfolder("PeliculasHD","peliculashd","mainlist")
	#addfolder("Wuapi","wuapisite","mainlist")
	#addfolder("Frozen Layer","frozenlayer","mainlist")

	# Label (top-right)...
	xbmcplugin.setPluginCategory( handle=int( sys.argv[ 1 ] ), category="Canales" )
	xbmcplugin.addSortMethod( handle=int( sys.argv[ 1 ] ), sortMethod=xbmcplugin.SORT_METHOD_NONE )
	xbmcplugin.endOfDirectory( handle=int( sys.argv[ 1 ] ), succeeded=True )