コード例 #1
0
elif mode == 'call_wizard':
    configwizard.HELPCATEGORIES()

elif mode == 'helpwizard':
    configwizard.HELPWIZARD(name, url, description, filetype)

# elif mode == "wizardstatus":
#     print "" + url
#     items = configwizard.WIZARDSTATUS(url)

# ####  KEYMAPS  ###################################################################
elif mode == 'install_keymap':
    installer.install_keymap(name, url)

elif mode == 'uninstall_keymap':
    installer.uninstall_keymap()

# #############  Installer  ##########################################################
elif mode == 'call_installer':
    installer.MAININDEX()

elif mode == 'lib_installer':
    installer.libinstaller(name, url)

elif mode == 'addoninstall':
    # kodi.log("TRYING MODES")
    installer.ADDONINSTALL(name, url, description, filetype, repourl)

# elif mode == 'interrepolist':
#     items = installer.List_Inter_Addons(url)
コード例 #2
0
ファイル: default.py プロジェクト: CYBERxNUKE/xbmc-addon
elif mode == 'call_wizard':
    configwizard.HELPCATEGORIES()

# elif mode == 'helpwizard':
#     configwizard.HELPWIZARD(name,url, description,filetype)

# elif mode == "wizardstatus":
#     print "" + url
#     items = configwizard.WIZARDSTATUS(url)

# ####  KEYMAPS  ###################################################################
elif mode == 'install_keymap':
    installer.install_keymap(name, url)

elif mode == 'uninstall_keymap':
    installer.uninstall_keymap()

# #############  Installer  ##########################################################
elif mode == 'call_installer':
    installer.MAININDEX()

elif mode == 'lib_installer':
        installer.libinstaller(name, url)

elif mode == 'addoninstall':
    #kodi.log("TRYING MODES")
    installer.ADDONINSTALL(name, url, description, filetype, repourl)

elif mode == 'interrepolist':
    items = installer.List_Inter_Addons(url)