2015-12-08, 16:26
Hi all,
I hope this is the right thread to post this but you guys look like skin.shortcuts experts. I am currently developing a plugin which requires me to choose a plugin or a favorite and save it in my settings file. I would love to use the skin.shortcuts plugin because it gives one menu item which I can use to point to favorites and save the url in my settings file, a video or addon and save that, media files, actions etc all in one shortcuts window. This is the same menu dialog that is used in the AEON NOX theme when adding custom items to the menu. I can launch the plugin and dialog as by executing the following in my script:
but for some reason, whenever I select a favorite, the path to the favorite is not returned to my addon configuration screen in order to save the path. I thought the would be possible with the just select of the skin.shortcuts but it does not work. I even tried capturing the selection by using
but alas, it still does nothing.
Can anyone point me in the right direction as to how to return the selected item path from skin.shortcuts back to my addons configuration screen so that I can save it in the settings file?
Tour help and time is much appreciated.
Thanks
J
I hope this is the right thread to post this but you guys look like skin.shortcuts experts. I am currently developing a plugin which requires me to choose a plugin or a favorite and save it in my settings file. I would love to use the skin.shortcuts plugin because it gives one menu item which I can use to point to favorites and save the url in my settings file, a video or addon and save that, media files, actions etc all in one shortcuts window. This is the same menu dialog that is used in the AEON NOX theme when adding custom items to the menu. I can launch the plugin and dialog as by executing the following in my script:
Code:
xbmc.executebuiltin('XBMC.RunScript(script.skinshortcuts,type=shortcuts&custom=True&skinLabel=Alarm)')
but for some reason, whenever I select a favorite, the path to the favorite is not returned to my addon configuration screen in order to save the path. I thought the would be possible with the just select of the skin.shortcuts but it does not work. I even tried capturing the selection by using
Code:
path = xbmc.executebuiltin('Skin.String(Alarm)')
Can anyone point me in the right direction as to how to return the selected item path from skin.shortcuts back to my addons configuration screen so that I can save it in the settings file?
Tour help and time is much appreciated.
Thanks
J