Example #1
0
    iptv.listm3u(url)

elif mode == 10:
    play(url, name)

elif mode == 1000:
    from resources.root import ukgeo
    ukgeo.cat()

elif mode == 2000:
    from resources.root import webscrapers
    webscrapers.cat()

elif mode == 3000:
    from resources.root import iptv
    iptv.cat()

elif mode == 4000:
    from resources.root import android
    android.cat()

elif mode == 9999:
    import xbmcgui, xbmcplugin
    from resources.root import resolvers
    url = resolvers.resolve(url)
    liz = xbmcgui.ListItem(name, iconImage=iconimage, thumbnailImage=iconimage)
    liz.setInfo(type='Video', infoLabels='')
    liz.setProperty("IsPlayable", "true")
    liz.setPath(url)
    xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz)
Example #2
0
elif mode==10:
	play(url,name,icon,description)
	


elif mode==1000:
	from resources.root import ukgeo
	ukgeo.cat()
	
elif mode==2000:
	from resources.root import webscrapers
	webscrapers.cat()

elif mode==3000:
	from resources.root import iptv
	iptv.cat()
	
elif mode==4000:
	from resources.root import android
	android.cat()

elif mode==9999:
	import xbmcgui,xbmcplugin
	from resources.root import resolvers
	url = resolvers.resolve(url,description)
	liz = xbmcgui.ListItem(name, iconImage=iconimage, thumbnailImage=iconimage)
	liz.setInfo(type='Video', infoLabels='')
	liz.setProperty("IsPlayable","true")
	liz.setPath(url)
	xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz)