2016-09-11, 20:58
hi guys
Does anyone know if it possible or a way to change a widgets source/string (what it displays) via a RunScript or ExecuteBuiltin command using the Xonfluence skin. Or by any other method?
Im trying to make it so that when i click on individual add-on shortcuts on the homescreen the widget will change to display a specified source/folder.
I was thinking of a RunScript or ExecuteBuiltin command as i can do this via a Manual Entry within Super Favourites, and then set that as the add-on shortcut.
Within Kodi in the Xonfluence skin the custom widget source/string is displayed and edited in the settings.
In my external Kodi files (kodi/userdata/addon_data/skin.xonfluence/settings.xml) my widget source/string is defined as:
<setting id="HomeItem.8.Widget" type="string">XXXX</setting>
with XXXX being my source/string (mine being plugin://plugin.program.super.favourites/...).
I've had a read and from what i can understand I could edit this file with a Python script, that would be activated by a Super Favourite RunScript command, but I've tried manually editing it with Kodi running and it doesn't change/work, not sure why so don't think thats an option.
Thanks for reading and any help or advice would be much appreciated
Does anyone know if it possible or a way to change a widgets source/string (what it displays) via a RunScript or ExecuteBuiltin command using the Xonfluence skin. Or by any other method?
Im trying to make it so that when i click on individual add-on shortcuts on the homescreen the widget will change to display a specified source/folder.
I was thinking of a RunScript or ExecuteBuiltin command as i can do this via a Manual Entry within Super Favourites, and then set that as the add-on shortcut.
Within Kodi in the Xonfluence skin the custom widget source/string is displayed and edited in the settings.
In my external Kodi files (kodi/userdata/addon_data/skin.xonfluence/settings.xml) my widget source/string is defined as:
<setting id="HomeItem.8.Widget" type="string">XXXX</setting>
with XXXX being my source/string (mine being plugin://plugin.program.super.favourites/...).
I've had a read and from what i can understand I could edit this file with a Python script, that would be activated by a Super Favourite RunScript command, but I've tried manually editing it with Kodi running and it doesn't change/work, not sure why so don't think thats an option.
Thanks for reading and any help or advice would be much appreciated