Kodi Community Forum

Full Version: Turn off addons auto update with python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How disable addon auto update with python?
xbmc.executebuiltin('SendClick(AddonBrowser, 5)')

use the 'xbmc' module's executebuiltin to post the 'SendClick' builtin-command which is the equivalent to the GUI control with id 5 (= the auto update button) being clicked.

i don't know about a more straight forward approach.
i go to tests, and how enable this?
i want enable auto update, run xbmc.executebuiltin("UpdateAddonRepos") and disable auto update
or simple disable auto check update and run check only with xbmc.executebuiltin("UpdateAddonRepos")
no idea if it'll work, but try if you get get the current state of the button by using xbmc.getInfoLabel('Control.GetLabel(5)')
Thanks for the help but does not return anything
(2015-08-31, 22:23)ironic_monkey Wrote: [ -> ]xbmc.executebuiltin('SendClick(AddonBrowser, 5)')

use the 'xbmc' module's executebuiltin to post the 'SendClick' builtin-command which is the equivalent to the GUI control with id 5 (= the auto update button) being clicked.

i don't know about a more straight forward approach.

This code should work to toggle autoupdates

Code:
xbmc.executebuiltin('xbmc.ActivateWindow(AddonBrowser)')
xbmc.executebuiltin('SendClick(10125, 5)')