Posts: 91
Joined: Nov 2013
Reputation:
0
How disable addon auto update with python?
Posts: 1,506
Joined: Nov 2013
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.
Posts: 91
Joined: Nov 2013
Reputation:
0
i go to tests, and how enable this?
Posts: 91
Joined: Nov 2013
Reputation:
0
i want enable auto update, run xbmc.executebuiltin("UpdateAddonRepos") and disable auto update
Posts: 91
Joined: Nov 2013
Reputation:
0
2015-09-01, 02:46
(This post was last modified: 2015-09-01, 02:50 by roneyrogerio92.)
or simple disable auto check update and run check only with xbmc.executebuiltin("UpdateAddonRepos")
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
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)')
Posts: 91
Joined: Nov 2013
Reputation:
0
Thanks for the help but does not return anything