コード例 #1
0
ファイル: default.py プロジェクト: alliswell2day/StreamHub
            'https://github.com/sClarkeIsBack/LiveHub/raw/master/startupmsg.txt'
        )
        txt = msg % (float(
            xbmc.getInfoLabel("System.BuildVersion")[:4]), '1.6')
        popupd(txt)
    except:
        pass
    home()

elif mode == 1:
    from resources.root import ukgeo
    ukgeo.get(url)

elif mode == 2:
    from resources.root import webscrapers
    webscrapers.get(url)

elif mode == 3:
    from resources.root import iptv
    iptv.get(url)

elif mode == 4:
    from resources.root import android
    android.get(url)

elif mode == 50:
    from resources.root import iptv
    iptv.listm3u(url)

elif mode == 10:
    play(url, name)
コード例 #2
0
ファイル: default.py プロジェクト: vphuc81/MyRepository
	downloader.getmodules()
	#try:
	#	msg = OPEN_URL('https://github.com/sClarkeIsBack/LiveHub/raw/master/startupmsg.txt')
	#	txt = msg%(float(xbmc.getInfoLabel("System.BuildVersion")[:4]),'1.6')
	#	popupd(txt)
	#pass
	home()

elif mode==1:
	from resources.root import ukgeo
	ukgeo.get(url)
	
	
elif mode==2:
	from resources.root import webscrapers
	webscrapers.get(url)
	
	
elif mode==3:
	from resources.root import iptv
	iptv.get(url)
	
elif mode==4:
	from resources.root import android
	android.get(url)
	
elif mode==50:
	from resources.root import iptv
	iptv.listm3u(url)