Exemplo n.º 1
0
def play(item):
    logger.info("[filmenoi.py] play")
    itemlist=[]

    if item.server=="linkbucks":
        logger.info("Es linkbucks")
        
        # Averigua el enlace
        from servers import linkbucks
        location = linkbucks.get_long_url(item.url)
        logger.info("location="+location)
        
        # Extrae la URL de saltar el anuncio en adf.ly
        if location.startswith("http://adf"):
            # Averigua el enlace
            from servers import adfly
            location = adfly.get_long_url(location)
            logger.info("location="+location)

        from servers import servertools
        itemlist=servertools.find_video_items(data=location)
        for videoitem in itemlist:
            videoitem.channel=__channel__
            videoitem.folder=False

    else:
        itemlist.append(item)

    return itemlist
Exemplo n.º 2
0
def play(item):
    logger.info("[xo.py] play")
    itemlist=[]

    if item.server=="linkbucks":
        logger.info("Es linkbucks")
        
        # Averigua el enlace
        from servers import linkbucks
        location = linkbucks.get_long_url(item.url)
        logger.info("location="+location)
        
        # Extrae la URL de saltar el anuncio en adf.ly
        if location.startswith("http://adf"):
            # Averigua el enlace
            from servers import adfly
            location = adfly.get_long_url(location)
            logger.info("location="+location)

        from servers import servertools
        itemlist=servertools.find_video_items(data=location)
        for videoitem in itemlist:
            videoitem.channel=__channel__
            videoitem.folder=False

    else:
        itemlist.append(item)

    return itemlist
def play(item):
    
    logger.info("[descargacineclasico.py] play")

    if "adf.ly" in item.url:
        video = linkbucks.get_long_url(item.url)
    else:   
        video = sh.expand_url(item.url)
    
    itemlist = []
    
    itemlist = servertools.find_video_items(data=video)

    for videoitem in itemlist:
        videoitem.title = item.title
        videoitem.fulltitle = item.fulltitle
        videoitem.thumbnail = item.thumbnail
        videoitem.channel = __channel__

    return itemlist    
def play(item):
    logger.info("[cineonlineeu.py] play")
    itemlist=[]

    if item.server=="linkbucks":
        from servers import linkbucks
        location = linkbucks.get_long_url(item.url)
    elif item.server=="adfly":
        from servers import adfly
        location = adfly.get_long_url(item.url)
    else:
        location = item.url
        
    from servers import servertools
    itemlist=servertools.find_video_items(data=location)
    for videoitem in itemlist:
        videoitem.channel=__channel__
        videoitem.folder=False

    return itemlist
Exemplo n.º 5
0
def play(item):
    logger.info("[cineonlineeu.py] play")
    itemlist = []

    if item.server == "linkbucks":
        from servers import linkbucks
        location = linkbucks.get_long_url(item.url)
    elif item.server == "adfly":
        from servers import adfly
        location = adfly.get_long_url(item.url)
    else:
        location = item.url

    from servers import servertools
    itemlist = servertools.find_video_items(data=location)
    for videoitem in itemlist:
        videoitem.channel = __channel__
        videoitem.folder = False

    return itemlist