コード例 #1
0
def launch_rtmp(params):
    plugintools.log("[%s %s].launch_rtmp %s" % (addonName, addonVersion, repr(params)))

    url = params.get("url")
    title = params.get("title")
    title = title.replace("[/COLOR]", "")
    title = title.strip()
    plugintools.log("Vamos a buscar en el título: " + title)

    if title.endswith("[9stream]") == True:
        server = "9stream"
        ninestreams(params)

    elif title.endswith("[iguide]") == True:
        server = "iguide"
        iguide0(params)

    elif title.endswith("[streamingfreetv]") == True:
        server = "streamingfreetv"
        streamingfreetv0(params)

    elif title.endswith("[vercosasgratis]") == True:
        server = "vercosasgratis"
        vercosas(params)

    elif title.endswith("[freebroadcast]") == True:
        server = "freebroadcast"
        freebroadcast(params)

    elif title.endswith("[ucaster]") == True:
        server = "ucaster"
        ucaster0(params)

    elif title.endswith("[direct2watch]") == True:
        server = "direct2watch"
        directwatch(params)

    elif title.endswith("[shidurlive]") == True:
        server = "shidurlive"
        plugintools.play_resolved_url(url)

    elif title.endswith("[vaughnlive]") == True:
        server = "vaughnlive"
        resolve_vaughnlive(params)

    elif title.endswith("[cast247]") == True:
        server = "cast247"
        castdos(params)

    elif title.endswith("[ezcast]") == True:
        server = "ezcast"
        ezcast0(params)

    elif title.endswith("[businessapp1]") == True:
        server = "businessapp"
        businessapp0(params)

    elif title.endswith("[miplayer.net]") == True:
        server = "miplayernet"
        miplayernet0(params)

    elif title.endswith("[janjua]") == True:
        server = "janjua"
        janjua0(params)

    elif title.endswith("[rdmcast]") == True:
        server = "rdmcast"
        rdmcast0(params)

    elif title.endswith("[byetv]") == True:
        server = "byetv"
        byetv0(params)

    elif url.find("hdcast") >= 0:
        server = "hdcast"
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = "janjua"
        janjua0(params)

    elif url.find("mips") >= 0:
        server = "mips"
        plugintools.play_resolved_url(url)

    elif url.find("zecast") >= 0:
        server = "zecast"
        plugintools.play_resolved_url(url)

    elif url.find("filotv") >= 0:
        server = "filotv"
        print "filotv"
        plugintools.play_resolved_url(url)

    elif url.find("flashstreaming") >= 0:
        server = "flashstreaming"
        plugintools.play_resolved_url(url)

    elif url.find("multistream") >= 0:
        server = "multistream"
        print "multistream"
        plugintools.play_resolved_url(url)

    elif url.find("playfooty") >= 0:
        server = "playfooty"
        plugintools.play_resolved_url(url)

    elif url.find("flashtv") >= 0:
        server = "flashtv"
        print "flashtv"
        plugintools.play_resolved_url(url)

    elif url.find("freetvcast") >= 0:
        server = "freetvcast"
        print "freetvcast"
        freetvcast(params)

    elif url.find("04stream") >= 0:
        server = "04stream"
        plugintools.play_resolved_url(url)

    elif url.find("sharecast") >= 0:
        server = "sharecast"
        plugintools.play_resolved_url(url)

    elif url.find("sawlive") >= 0:
        server = "sawlive"
        sawlive(params)

    elif url.find("goodcast") >= 0:
        server = "goodcast"
        plugintools.play_resolved_url(url)

    elif url.find("broadcastlive") >= 0:
        server = "broadcastlive"
        broadcastlive1(params)

    elif url.find("dinozap") >= 0:
        server = "dinozap"
        dinozap0(params)

    elif url.find("dcast.tv") >= 0:
        server = "dcast.tv"
        plugintools.play_resolved_url(url)

    elif url.find("castalba") >= 0:
        server = "castalba"
        castalba(params)

    elif url.find("tutelehd.com") >= 0:
        server = "tutelehd.com"
        plugintools.play_resolved_url(url)

    elif url.find("flexstream") >= 0:
        server = "flexstream"
        plugintools.play_resolved_url(url)

    elif url.find("xxcast") >= 0:
        server = "xxcast"
        plugintools.play_resolved_url(url)

    elif url.find("vipi.tv") >= 0:
        server = "vipi.tv"
        plugintools.play_resolved_url(url)

    elif url.find("watchjsc") >= 0:
        server = "watchjsc"
        plugintools.play_resolved_url(url)

    elif url.find("zenex.tv") >= 0:
        server = "zenex.tv"
        plugintools.play_resolved_url(url)

    elif url.find("castto") >= 0:
        server = "castto"
        plugintools.play_resolved_url(url)

    elif url.find("tvzune") >= 0:
        server = "tvzune"
        plugintools.play_resolved_url(url)

    elif url.find("flashcast") >= 0:
        server = "flashcast"
        plugintools.play_resolved_url(url)

    elif url.find("ilive.to") >= 0:
        server = "ilive.to"
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = "janjua"
        janjua0(params)

    else:
        print "No ha encontrado launcher"
        server = "rtmp"
        plugintools.play_resolved_url(url)
コード例 #2
0
def launch_rtmp(params):
    plugintools.log('[%s %s].launch_rtmp %s' % (addonName, addonVersion, repr(params)))

    url = params.get("url")
    title = params.get("title")
    title = title.replace("[/COLOR]", "")
    title = title.strip()
    plugintools.log("Vamos a buscar en el título: "+title)

    if title.endswith("[9stream]") == True:        
        server = '9stream'
        ninestreams(params)

    elif title.endswith("[iguide]") == True:
        server = 'iguide'
        plugintools.play_resolved_url(url)

    elif title.endswith("[mips]") == True:
        server = 'mips'
        plugintools.play_resolved_url(url)        

    elif title.endswith("[streamingfreetv]") == True:
        server = 'streamingfreetv'
        streamingfreetv0(params)

    elif title.endswith("[vercosasgratis]") == True:
        server = 'vercosasgratis'
        vercosas(params)

    elif title.endswith("[freebroadcast]") == True:
        server = 'freebroadcast'
        freebroadcast(params)

    elif title.endswith("[ucaster]") == True:
        server = 'ucaster'
        ucaster0(params)

    elif title.endswith("[direct2watch]") == True:
        server = 'direct2watch'
        directwatch(params)

    elif title.endswith("[shidurlive]") == True:
        server = 'shidurlive'
        plugintools.play_resolved_url(url)

    elif title.endswith("[vaughnlive]") == True:
        server = 'vaughnlive'
        resolve_vaughnlive(params)        

    elif title.endswith("[cast247]") == True:
        server = 'cast247'
        castdos(params)

    elif title.endswith("[ezcast]") == True:
        server = 'ezcast'
        ezcast0(params)        

    elif title.endswith("[businessapp1]") == True:
        server = 'businessapp'
        businessapp0(params)

    elif title.endswith("[miplayer.net]") == True:
        server = 'miplayernet'
        miplayernet0(params)        

    elif title.endswith("[janjua]") == True:
        server = 'janjua'
        janjua0(params)        

    elif title.endswith("[rdmcast]") == True:
        server = 'rdmcast'
        rdmcast0(params)        

    elif title.endswith("[byetv]") == True:
        server = 'byetv'        
        byetv0(params)       

    elif url.find("hdcast") >= 0:
        server = 'hdcast'
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = 'janjua'
        janjua0(params)

    elif url.find("mips") >= 0:
        server = 'mips'
        plugintools.play_resolved_url(url)

    elif url.find("zecast") >= 0:
        server = 'zecast'
        plugintools.play_resolved_url(url)

    elif url.find("filotv") >= 0:
        server = 'filotv'
        print "filotv"
        plugintools.play_resolved_url(url)

    elif url.find("flashstreaming") >= 0:
        server = 'flashstreaming'
        plugintools.play_resolved_url(url)

    elif url.find("multistream") >= 0:
        server = 'multistream'
        print "multistream"
        plugintools.play_resolved_url(url)

    elif url.find("playfooty") >= 0:
        server = 'playfooty'
        plugintools.play_resolved_url(url)

    elif url.find("flashtv") >= 0:
        server = 'flashtv'
        print "flashtv"
        plugintools.play_resolved_url(url)

    elif url.find("freetvcast") >= 0:
        server = 'freetvcast'
        print "freetvcast"
        freetvcast(params)

    elif url.find("04stream") >= 0:
        server = '04stream'
        plugintools.play_resolved_url(url)

    elif url.find("sharecast") >= 0:
        server = 'sharecast'
        plugintools.play_resolved_url(url)

    elif url.find("sawlive") >= 0:
        server = 'sawlive'
        sawlive(params)

    elif url.find("goodcast") >= 0:
        server = 'goodcast'
        plugintools.play_resolved_url(url)

    elif url.find("broadcastlive") >= 0:
        server = 'broadcastlive'        
        broadcastlive1(params)

    elif url.find("dinozap") >= 0:
        server = 'dinozap'        
        dinozap0(params)        

    elif url.find("dcast.tv") >= 0:
        server = 'dcast.tv'
        plugintools.play_resolved_url(url)

    elif url.find("castalba") >= 0:
        server = 'castalba'
        castalba(params)

    elif url.find("tutelehd.com") >= 0:
        server = 'tutelehd.com'
        plugintools.play_resolved_url(url)

    elif url.find("flexstream") >= 0:
        server = 'flexstream'
        plugintools.play_resolved_url(url)

    elif url.find("xxcast") >= 0:
        server = 'xxcast'
        plugintools.play_resolved_url(url)

    elif url.find("vipi.tv") >= 0:
        server = 'vipi.tv'
        plugintools.play_resolved_url(url)

    elif url.find("watchjsc") >= 0:
        server = 'watchjsc'
        plugintools.play_resolved_url(url)

    elif url.find("zenex.tv") >= 0:
        server = 'zenex.tv'
        plugintools.play_resolved_url(url)

    elif url.find("castto") >= 0:
        server = 'castto'
        plugintools.play_resolved_url(url)

    elif url.find("tvzune") >= 0:
        server = 'tvzune'
        plugintools.play_resolved_url(url)

    elif url.find("flashcast") >= 0:
        server = 'flashcast'
        plugintools.play_resolved_url(url)

    elif url.find("ilive.to") >= 0:
        server = 'ilive.to'
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = 'janjua'        
        janjua0(params)          

    else:
        print "No ha encontrado launcher"
        server = 'rtmp'        
        plugintools.play_resolved_url(url)
コード例 #3
0
ファイル: multilink.py プロジェクト: franbetis/actualizarkodi
def get_server(params):
    plugintools.log('[%s %s].get_server %s' % (addonName, addonVersion, repr(params)))

    show = params.get("page")
    if show == "":
        show = "list"            
    plugintools.modo_vista(show)
    
    url = params.get("url")

    if url.startswith("rtmp") == True:
    
        if url.find("freetvcast.pw") >= 0:
            freetvcast(params)  
                    
        elif url.find("http://privado.streamingfreetv.net") >= 0:
            streamingfreetv0(params)  		

        elif url.find("9stream") >= 0:            
            ninestreams(params)

        elif url.find("freebroadcast") >= 0:
            freebroadcast(params)   

        elif url.find("cast247") >= 0:
            castdos(params)

        elif url.find("castalba") >= 0:
            castalba(params)     

        elif url.find("direct2watch") >= 0:
            directwatch(params)
        
        elif url.find("vaughnlive") >= 0:
            resolve_vaughnlive(params)

        elif url.find("shidurlive") >= 0:
            shidurlive(params)      
    
        elif url.find("vercosasgratis") >= 0:
            vercosas(params)

        elif url.find("businessapp1") >= 0:
            businessapp0(params)

        elif url.find("broadcastlive") >= 0:
            broadcastlive0(params)             

        elif url.find("pageUrl=http://rdmcast.com") >= 0:
            rdmcast0(params)

        elif url.find("janjua") >= 0:
            janjua0(params)
            
        else:            
            params["url"]=url            
            plugintools.play_resolved_url(url)
        
    elif url.startswith("serie") >= 0:
        if url.find("seriesadicto") >= 0:
            from resources.tools.seriesadicto import *
            seriecatcher(params)
            
        elif url.find("seriesflv") >= 0:
            from resources.tools.seriesflv import *
            lista_capis(params)

        elif url.find("seriesyonkis") >= 0:
            from resources.tools.seriesyonkis import *
            serie_capis(params)

        elif url.find("seriesblanco") >= 0:
            from resources.tools.seriesblanco import *
            seriesblanco0(params)

        elif url.find("seriesmu") >= 0:
            from resources.tools.seriesblanco import *
            seriesmu0(params)            

    elif url.startswith("bum") == True or url.startswith("BUM") == True:
        from resources.tools.bum import *
        url = url.strip()
        title = title.replace(" [COLOR lightyellow][I][BUM+][/COLOR]", "").strip()
        params["title"]=title
        params["url"]=url
        get_server(params)
        bum_multiparser(params)
 
    else:
	plugintools.play_resolved_url(url)
コード例 #4
0
ファイル: server_rtmp.py プロジェクト: codixor/maximumTv
def launch_rtmp(params):
    plugintools.log('[%s %s].launch_rtmp %s' %
                    (addonName, addonVersion, repr(params)))

    url = params.get("url")
    title = params.get("title")
    title = title.replace("[/COLOR]", "")
    title = title.strip()
    plugintools.log("Vamos a buscar en el título: " + title)

    if title.endswith("[9stream]") == True:
        server = '9stream'
        ninestreams(params)

    elif title.endswith("[iguide]") == True:
        server = 'iguide'
        iguide0(params)

    elif title.endswith("[streamingfreetv]") == True:
        server = 'streamingfreetv'
        streamingfreetv0(params)

    elif title.endswith("[vercosasgratis]") == True:
        server = 'vercosasgratis'
        vercosas(params)

    elif title.endswith("[freebroadcast]") == True:
        server = 'freebroadcast'
        freebroadcast(params)

    elif title.endswith("[ucaster]") == True:
        server = 'ucaster'
        ucaster0(params)

    elif title.endswith("[direct2watch]") == True:
        server = 'direct2watch'
        directwatch(params)

    elif title.endswith("[shidurlive]") == True:
        server = 'shidurlive'
        plugintools.play_resolved_url(url)

    elif title.endswith("[vaughnlive]") == True:
        server = 'vaughnlive'
        resolve_vaughnlive(params)

    elif title.endswith("[cast247]") == True:
        server = 'cast247'
        castdos(params)

    elif title.endswith("[ezcast]") == True:
        server = 'ezcast'
        ezcast0(params)

    elif title.endswith("[businessapp1]") == True:
        server = 'businessapp'
        businessapp0(params)

    elif title.endswith("[miplayer.net]") == True:
        server = 'miplayernet'
        miplayernet0(params)

    elif title.endswith("[janjua]") == True:
        server = 'janjua'
        janjua0(params)

    elif title.endswith("[rdmcast]") == True:
        server = 'rdmcast'
        rdmcast0(params)

    elif title.endswith("[byetv]") == True:
        server = 'byetv'
        byetv0(params)

    elif url.find("hdcast") >= 0:
        server = 'hdcast'
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = 'janjua'
        janjua0(params)

    elif url.find("mips") >= 0:
        server = 'mips'
        plugintools.play_resolved_url(url)

    elif url.find("zecast") >= 0:
        server = 'zecast'
        plugintools.play_resolved_url(url)

    elif url.find("filotv") >= 0:
        server = 'filotv'
        print "filotv"
        plugintools.play_resolved_url(url)

    elif url.find("flashstreaming") >= 0:
        server = 'flashstreaming'
        plugintools.play_resolved_url(url)

    elif url.find("multistream") >= 0:
        server = 'multistream'
        print "multistream"
        plugintools.play_resolved_url(url)

    elif url.find("playfooty") >= 0:
        server = 'playfooty'
        plugintools.play_resolved_url(url)

    elif url.find("flashtv") >= 0:
        server = 'flashtv'
        print "flashtv"
        plugintools.play_resolved_url(url)

    elif url.find("freetvcast") >= 0:
        server = 'freetvcast'
        print "freetvcast"
        freetvcast(params)

    elif url.find("04stream") >= 0:
        server = '04stream'
        plugintools.play_resolved_url(url)

    elif url.find("sharecast") >= 0:
        server = 'sharecast'
        plugintools.play_resolved_url(url)

    elif url.find("sawlive") >= 0:
        server = 'sawlive'
        sawlive(params)

    elif url.find("goodcast") >= 0:
        server = 'goodcast'
        plugintools.play_resolved_url(url)

    elif url.find("broadcastlive") >= 0:
        server = 'broadcastlive'
        broadcastlive1(params)

    elif url.find("dinozap") >= 0:
        server = 'dinozap'
        dinozap0(params)

    elif url.find("dcast.tv") >= 0:
        server = 'dcast.tv'
        plugintools.play_resolved_url(url)

    elif url.find("castalba") >= 0:
        server = 'castalba'
        castalba(params)

    elif url.find("tutelehd.com") >= 0:
        server = 'tutelehd.com'
        plugintools.play_resolved_url(url)

    elif url.find("flexstream") >= 0:
        server = 'flexstream'
        plugintools.play_resolved_url(url)

    elif url.find("xxcast") >= 0:
        server = 'xxcast'
        plugintools.play_resolved_url(url)

    elif url.find("vipi.tv") >= 0:
        server = 'vipi.tv'
        plugintools.play_resolved_url(url)

    elif url.find("watchjsc") >= 0:
        server = 'watchjsc'
        plugintools.play_resolved_url(url)

    elif url.find("zenex.tv") >= 0:
        server = 'zenex.tv'
        plugintools.play_resolved_url(url)

    elif url.find("castto") >= 0:
        server = 'castto'
        plugintools.play_resolved_url(url)

    elif url.find("tvzune") >= 0:
        server = 'tvzune'
        plugintools.play_resolved_url(url)

    elif url.find("flashcast") >= 0:
        server = 'flashcast'
        plugintools.play_resolved_url(url)

    elif url.find("ilive.to") >= 0:
        server = 'ilive.to'
        plugintools.play_resolved_url(url)

    elif url.find("janjua") >= 0:
        server = 'janjua'
        janjua0(params)

    else:
        print "No ha encontrado launcher"
        server = 'rtmp'
        plugintools.play_resolved_url(url)
コード例 #5
0
def rtmp_analyzer(params):
    plugintools.log('[%s %s] RTMP Analyzer PalcoTV %s' % (addonName, addonVersion, repr(params)))

    url = params.get("url")

    if url.startswith("rtmp") == True:
    
        if url.find("freetvcast.pw") >= 0:
            freetvcast(params)  
                    
        elif url.find("http://privado.streamingfreetv.net") >= 0:
            streamingfreetv0(params)  		

        elif url.find("9stream") >= 0:            
            ninestreams(params)

        elif url.find("freebroadcast") >= 0:
            freebroadcast(params)   

        elif url.find("cast247") >= 0:
            castdos(params)

        elif url.find("castalba") >= 0:
            castalba(params)     

        elif url.find("direct2watch") >= 0:
            directwatch(params)
        
        elif url.find("vaughnlive") >= 0:
            resolve_vaughnlive(params)

        elif url.find("shidurlive") >= 0:
            shidurlive(params)      
    
        elif url.find("vercosasgratis") >= 0:
            vercosas(params)

        elif url.find("businessapp1") >= 0:
            businessapp0(params)

        elif url.find("broadcastlive") >= 0:
            broadcastlive0(params)             

        elif url.find("pageUrl=http://rdmcast.com") >= 0:
            rdmcast0(params)

        elif url.find("janjua") >= 0:
            janjua0(params)
            
        else:            
            params["url"]=url            
            plugintools.play_resolved_url(url)

    elif url.startswith("bum") == True or url.startswith("BUM") == True:
        from resources.tools.bum import *
        url = url.strip()
        title = title.replace(" [COLOR lightyellow][I][BUM+][/COLOR]", "").strip()
        params["title"]=title
        params["url"]=url
        get_server(params)
        bum_multiparser(params)
 
    else:
	plugintools.play_resolved_url(url)