2013-12-05, 00:19
(2013-12-05, 00:10)Martijn Wrote: .db is way way to confusing.
Pick a more clear extension
Fair point
I've changed it to the hopefully much clearer .shortcuts
(2013-12-05, 00:09)BigNoid Wrote: Works a treat, thx.
If anyone wants to test, make a shortcuts folder in your skin directory, put a file the with extension .db and fill it with syntax like this:
Code:['Put your label1 here', 'Put your Label2 here', 'Put your Icon here', 'Put your Thumbnail image here', 'ActivateWindow(Weather)'],
[xbmc.getLocalizedString(31951), 'Label2', 'special://skin/backgrounds/pictures/default.jpg', xbmc.getInfoLabel('Skin.String(CustomPicturesBg)'), 'ActivateWindow(Pictures)']]
Great that it's working for you, but your syntax isn't quite right (which is why I suggest using skinshortcuts to create the file in the first place...) - it should have another
Code:
[
(and obviously now named .shortcuts rather than .db)