Exemplo n.º 1
0
def MAIN():
    xbmcgui.Window(10000).clearProperty('MASH_SSR_TYPE')
    d = settings.getHomeItems()
    for index, value in sorted(enumerate(d), key=lambda x:x[1]):
        if value==None: continue
        if index==0:
            main.addDirHome('Search',mainurl,420,art+'/search2.png')
        elif index==1:
            main.addDirHome("All Fav's",mainurl,639,art+'/favsu.png')
        elif index==2:
            main.addDirHome('A-Z',mainurl,6,art+'/az2.png')
        elif index==3:
            main.addDirHome('New Releases',mainurl + 'new-releases/',1,art+'/new2.png')
        elif index==4:
            main.addDirHome('Latest Added',mainurl + 'latest-added/',1,art+'/latest2.png')
        elif index==5:
            main.addDirHome('Featured Movies',mainurl + 'featured-movies/',1,art+'/feat2.png')
        elif index==6:
            main.addDirHome('Most Viewed',mainurl + 'most-viewed/',1,art+'/view2.png')
        elif index==7:
            main.addDirHome('Most Voted',mainurl + 'most-voted/',1,art+'/vote2.png')
        elif index==8:
            main.addDirHome('HD Releases',mainurl + 'latest-hd-movies/',1,art+'/dvd2hd.png')
        elif index==9:
            main.addDirHome('Genre',mainurl,2,art+'/genre2.png')
        elif index==10:
            main.addDirHome('By Year',mainurl,7,art+'/year2.png')
        elif index==11:
            main.addDirHome('Watch History','history',222,art+'/whistory.png')
        elif index==14:
            main.addDirHome('International','http://www.desirulez.net',36,art+'/intl.png')
        elif index==22:
            main.addDirHome('Kids Zone',mainurl,76,art+'/kidzone2.png')
    main.addPlayc('MashUp Settings',mainurl,1999,art+'/MashSettings.png','','','','','')
Exemplo n.º 2
0
def MAIN():
    xbmcgui.Window(10000).clearProperty('MASH_SSR_TYPE')
    d = settings.getHomeItems()
    for index, value in sorted(enumerate(d), key=lambda x: x[1]):
        if value == None: continue
        if index == 0:
            main.addDirHome('Search', mainurl, 420, art + '/search2.png')
        elif index == 1:
            main.addDirHome("All Fav's", mainurl, 639, art + '/favsu.png')
        elif index == 2:
            main.addDirHome('A-Z', mainurl, 6, art + '/az2.png')
        elif index == 3:
            main.addDirHome('New Releases', mainurl + 'new-releases/', 1,
                            art + '/new2.png')
        elif index == 4:
            main.addDirHome('Latest Added', mainurl + 'latest-added/', 1,
                            art + '/latest2.png')
        elif index == 5:
            main.addDirHome('Featured Movies', mainurl + 'featured-movies/', 1,
                            art + '/feat2.png')
        elif index == 6:
            main.addDirHome('Most Viewed', mainurl + 'most-viewed/', 1,
                            art + '/view2.png')
        elif index == 7:
            main.addDirHome('Most Voted', mainurl + 'most-voted/', 1,
                            art + '/vote2.png')
        elif index == 8:
            main.addDirHome('HD Releases', mainurl + 'latest-hd-movies/', 1,
                            art + '/dvd2hd.png')
        elif index == 9:
            main.addDirHome('Genre', mainurl, 2, art + '/genre2.png')
        elif index == 10:
            main.addDirHome('By Year', mainurl, 7, art + '/year2.png')
        elif index == 11:
            main.addDirHome('Watch History', 'history', 222,
                            art + '/whistory.png')
        elif index == 14:
            main.addDirHome('International', 'http://www.desirulez.net', 36,
                            art + '/intl.png')
        elif index == 22:
            main.addDirHome('Kids Zone', mainurl, 76, art + '/kidzone2.png')
    main.addPlayc('MashUp Settings', mainurl, 1999, art + '/MashSettings.png',
                  '', '', '', '', '')
Exemplo n.º 3
0
def MAIN():
    xbmcgui.Window(10000).clearProperty('AFTERSHOCK_SSR_TYPE')
    d = settings.getHomeItems()
    for index, value in sorted(enumerate(d), key=lambda x:x[1]):
        if value==None: continue
        if index==0:
            main.addDirHome('Search',mainurl,constants.MOVIE25_SEARCH_HISTORY,art+'/search.png')
        elif index==1:
            main.addDirHome("All Fav's",mainurl,constants.MAIN_GLOBALFAV,art+'/favsu.png')
        elif index==2:
            main.addDirHome('A-Z',mainurl,constants.MOVIE_ATOZ,art+'/az.png')
        elif index==3:
            main.addDirHome('New Releases',mainurl + 'new-releases/',constants.MOVIE25_LISTMOVIES,art+'/new.png')
        elif index==4:
            main.addDirHome('Latest Added',mainurl + 'latest-added/',constants.MOVIE25_LISTMOVIES,art+'/latest.png')
        elif index==5:
            main.addDirHome('Featured Movies',mainurl + 'featured-movies/',constants.MOVIE25_LISTMOVIES,art+'/feat.png')
        elif index==6:
            main.addDirHome('Most Viewed',mainurl + 'most-viewed/',constants.MOVIE25_LISTMOVIES,art+'/view.png')
        elif index==7:
            main.addDirHome('Most Voted',mainurl + 'most-voted/',constants.MOVIE25_LISTMOVIES,art+'/vote.png')
        elif index==8:
            main.addDirHome('HD Releases',mainurl + 'latest-hd-movies/',constants.MOVIE25_LISTMOVIES,art+'/dvd2hd.png')
        elif index==9:
            main.addDirHome('Genre',mainurl,constants.MOVIE_GENRE,art+'/genre.png')
        elif index==10:
            main.addDirHome('By Year',mainurl,constants.MOVIE_YEAR,art+'/year.png')
        elif index==11:
            main.addDirHome('Watch History','history',constants.MAIN_HISTORY,art+'/whistory.png')
        elif index==12:
            main.addDirHome('International',desirulezurl,constants.DESIRULEZ_CHANNELS,art+'/intl.png')
        elif index==13:
            main.addDirHome('Hindi Movies',sominalurl,constants.HINDI_MOVIES_MENU,art+'/hindimovies.png')
        elif index==14:
            main.addDirHome('Live TV',mainurl,constants.LIVETV_MENU,art+'/live.png')
        elif index==22:
            main.addDirHome('Kids Zone',mainurl,constants.KIDZONE_MENU,art+'/kidzone.png')
    main.addPlayc('Aftershock Settings',mainurl,constants.MAIN_SETTINGS,art+'/MashSettings.png','','','','','')