2019-10-26, 16:25
Hi
I'm trying to figure out the appropriate extension points to get the correct behaviour for my addon between plugin and script extension points. I've tried multiple variations but when I get it behaving properly, it shows up twice in Kodi... Here's where it stands:
With this approach, my addon shows up twice under programs. If I remove <script>, is there another approach to calling actions from settings.xml? Right now when I remove it it starts calling the plugin with the sys.args in a different order than when calling the script... My in-progress addon.xml is here
I'm trying to figure out the appropriate extension points to get the correct behaviour for my addon between plugin and script extension points. I've tried multiple variations but when I get it behaving properly, it shows up twice in Kodi... Here's where it stands:
- Service: This is fine
- Script: In settings XML I need to use RunScript to run configuration scripts for Hue and other required functionality.
- Plugin (provides executable) : I wish to add a plugin to allow for shortcuts to trigger the service to perform specific actions. I'm using a plugin because I want to be able to add some of those actions as favourites so users can trigger them easily (see thread)
With this approach, my addon shows up twice under programs. If I remove <script>, is there another approach to calling actions from settings.xml? Right now when I remove it it starts calling the plugin with the sys.args in a different order than when calling the script... My in-progress addon.xml is here