BUILDMENU_BETA()

elif mode == 30:
    ADVANCEDSETTINGS()

elif mode == 31:
    maintenance.autocleanask()

elif mode == 44:
    versioncheck.BUILD_Version()

elif mode == 45:
    NotCompatible()

elif mode == 70:
    backuprestore.Backup()

elif mode == 71:
    backuprestore.Restore()

elif mode == 72:
    backuprestore.ListBackDel()

elif mode == 73:
    backuprestore.DeleteAllBackups()

elif mode == 85:
    print "############   ATTEMPT TO KILL XBMC/KODI   #################"
    Common.killxbmc()

elif mode == 87:
Beispiel #2
0
def setView(content, viewType):
    if content:
        xbmcplugin.setContent(int(sys.argv[1]), content)
    if base_info.getS('auto-view')=='true':
        base_info.ebi("Container.SetViewMode(%s)" % base_info.getS(viewType) )
#######################################################################

#######################################################################
# Below we are creating the different modes
if mode==None               : Categories()
elif mode=='adult'          : Adult_Menu()
elif mode=='krypton'        : Krypton_Menu()
elif mode=='adultwiz'       : base_info.Wizard_Adult(name,url,description)
elif mode=='kryptonwiz'     : base_info.Wizard_Krypton(name,url,description)
elif mode=='backup'         : backuprestore.Backup()
elif mode=='backupdata'     : backuprestore.Backup_Login()
elif mode=='builds'         : Builds_Menu()
elif mode=='checkrepos'     : base_info.Broken_Repos()
elif mode=='checksources'   : base_info.Broken_Sources()
elif mode=='clearcache'     : base_info.Delete_Cache(url)
elif mode=='clearpackages'  : base_info.Delete_Packages(url)
elif mode=='clearthumb'     : base_info.Clear_Thumb()       
elif mode=='contact'        : contact.contact(CONT_NOT)
elif mode=='convertpath'    : backuprestore.Convert_Special(url)
elif mode=='delete'         : backuprestore.Delete_Backup(url)
elif mode=='deleteall'      : backuprestore.Delete_All_Backups()
elif mode=='deletesingle'   : backuprestore.ListBackDel()
elif mode=='developer'      : Developer_Menu()
elif mode=='forceclose'     : base_info.killxbmc()
elif mode=='freshstart'     : base_info.Fresh_Start()