2015-08-31, 21:49
2015-08-31, 22:23
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.
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.
2015-08-31, 23:17
i go to tests, and how enable this?
2015-08-31, 23:27
i want enable auto update, run xbmc.executebuiltin("UpdateAddonRepos") and disable auto update
2015-09-01, 02:46
or simple disable auto check update and run check only with xbmc.executebuiltin("UpdateAddonRepos")
2015-09-01, 20:26
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)')
2015-09-03, 18:28
Thanks for the help but does not return anything
2016-08-06, 02:18
(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)')