Posts: 376
Joined: Jun 2012
Reputation:
0
Hi,
I have Kiosk mode turned on so not to confuse my family, but its annoying when I want to update my library due to new content.
So I added a submenu item to the System menu to run: UpdateLibrary("video") - which works perfectly.
Now I'm thinking I'd like to run 3 commands, i.e. click on one submenu item and it runs: clean library, UpdateLibrary("video"), UpdateLibrary("music")
Is there any way of writing out a custom action which runs three commands, say something like putting a ; between each command or something similar?
Or will the submenu only allow one command to be executed.
Thanks.
Posts: 376
Joined: Jun 2012
Reputation:
0
Checked that out - thanks. It seems there isn't a way to execute multiple commands in one go...
Am now thinking that I could run some sort of script which would execute the commands?
Posts: 311
Joined: Aug 2012
Reputation:
4
xbmc auto update, watchdog, try those
Posts: 261
Joined: Dec 2014
Reputation:
6
Warez
Senior Member
Posts: 261
You can paste 2 commands in 1 shortcut... just place it under the first one... using notepad ++
Posts: 376
Joined: Jun 2012
Reputation:
0
Warez - I don't quite follow?
In Aeon Nox, I select Skin settings and then Edit main menu, select sub-menu and select custom action - it only allows one string to be entered??
Posts: 261
Joined: Dec 2014
Reputation:
6
Warez
Senior Member
Posts: 261
Like this.... this is in de skishortcuts folder xml file
<shortcut>
<defaultID />
<label>TV Show Library</label>
<label2>Videobron</label2>
<icon>DefaultShortcut.png</icon>
<thumb />
<action>ActivateWindow(10025,special://profile/addon_data/script.skinshortcuts/7.xsp,return)</action> <<<----1
<action>RunAddOn(script.subscription.pulsar.favourites)</action> <<<<----2
</shortcut>
you see 2 actions under 1 button
Posts: 1,559
Joined: Dec 2008
Reputation:
159
Maybe the "Commands" addon by AddonScripterDE could be helpful? Its in the standard Kodi repo under programs.
I think it can do combination actions too, but I havent used this feature myself.
If I have helped you or increased your knowledge please click the 'Thumb Up - Like' button to show me your appreciation :)
For YouTube questions see the
official thread here.
Posts: 943
Joined: Mar 2011
Reputation:
14
Using AN Silvo, how do you add a custom Skin Shortcut to a menu?
Posts: 943
Joined: Mar 2011
Reputation:
14
I'm using Krypton with Aeon Nox Silvo. Looks like overrides.xml is located here and has a lot of settings in it.
C:\Users\Admin\AppData\Roaming\Kodi\addons\skin.aeon.nox.silvo\shortcuts
I created a new one and put into the C:\Users\Admin\AppData\Roaming\Kodi\userdata folder as you initially suggested and it works!
I was able to call AD, with this command:
RunAddOn(script.artwork.downloader)
Thank you for your assistance.