elif mode == 'addoninstall': #kodi.log("TRYING MODES") installer.ADDONINSTALL(name, url, description, filetype, repourl) elif mode == 'adultlist': items = installer.List_steman_Adult(url) elif mode == 'BrowseUrl': xbmc.executebuiltin("XBMC.System.Exec(%s)" % url) ################################### elif mode == 'enableall': addon_able.setall_enable() elif mode == 'teststuff': freshstart.remove_db() ####################################### elif mode == 'backup_restore': backup.BACKUPMENU() elif mode == 'full_backup': backup.FullBackup() elif mode == 'small_backup': backup.Backup() elif mode == 'do_backup_restore': backup.Restore() elif mode == 'display_backup_settings': kodi.openSettings(addon_id, id1=0, id2=0)
elif mode=='call_rejuv': import rejuv rejuv.startup_rejuv() elif mode=='juvwizard': import rejuv_run rejuv_run.JUVWIZARD() elif mode == 'BrowseUrl': xbmc.executebuiltin("XBMC.System.Exec(%s)" % url) elif mode == 'enableall': addon_able.setall_enable() elif mode == 'teststuff': freshstart.remove_db() ####################################### elif mode == 'backup_restore': backup.backup_menu() elif mode == 'full_backup': backup.full_backup() elif mode == 'small_backup': backup.no_data_backup() elif mode == 'do_backup_restore': backup.restore() elif mode == 'display_backup_settings':