Exemplo n.º 1
0
def root():
    search.item()
    xbmcutil.add_local_dir(xbmcutil.__lang__(30006), settings['downloads'],
                           xbmcutil.icon('download.png'))
    for provider in providers.keys():
        xbmcutil.add_dir(provider, {'cp': provider}, icon(provider))
    return xbmcplugin.endOfDirectory(int(sys.argv[1]))
Exemplo n.º 2
0
def root():
    search.item({"s": "movie"}, label=xbmcutil.__lang__(30003) + " " + __language__(30017))
    search.item({"s": "person"}, label=xbmcutil.__lang__(30003) + " " + __language__(30018))
    xbmcutil.add_dir(__language__(30041), {"fav": ""}, icon())
    xbmcutil.add_dir(__language__(30044), {"filmoteka": ""}, icon())
    xbmcutil.add_dir("Kino", {"kino": ""}, icon())
    xbmcutil.add_dir("Žebříčky", {"top": ""}, xbmcutil.icon("top.png"))
    xbmcutil.add_dir("Blu-ray", {"dvd": "bluray"}, icon())
    xbmcutil.add_dir("Premiérová DVD", {"dvd": "dvd_retail"}, icon())
    xbmcutil.add_dir("Levná DVD v trafikách a časopisech", {"dvd": "dvd_lite"}, icon())
    xbmcutil.add_dir("Tvůrci", {"artists": ""}, icon())
    xbmcplugin.endOfDirectory(int(sys.argv[1]))
Exemplo n.º 3
0
def root():
	search.item()
	for provider in providers.keys():
		xbmcutil.add_dir(provider, {'cp':provider}, icon(provider))
	return
Exemplo n.º 4
0
def root():
	search.item()
	xbmcutil.add_local_dir(xbmcutil.__lang__(30006),settings['downloads'],xbmcutil.icon('download.png'))
	for provider in providers.keys():
		xbmcutil.add_dir(provider,{'cp':provider},icon(provider))
	return xbmcplugin.endOfDirectory(int(sys.argv[1]))
Exemplo n.º 5
0
def root():
    search.item()
    for provider in providers.keys():
        xbmcutil.add_dir(provider, {'cp': provider}, icon(provider))
    return