Turn off addons auto update with python
#1
How disable addon auto update with python?
Reply
#2
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.
Reply
#3
i go to tests, and how enable this?
Reply
#4
i want enable auto update, run xbmc.executebuiltin("UpdateAddonRepos") and disable auto update
Reply
#5
or simple disable auto check update and run check only with xbmc.executebuiltin("UpdateAddonRepos")
Reply
#6
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)')
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
Thanks for the help but does not return anything
Reply
#8
(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)')
Reply

Logout Mark Read Team Forum Stats Members Help
Turn off addons auto update with python1