2016-10-22, 00:49
(2016-10-21, 19:47)BobCratchett Wrote:(2016-10-21, 19:28)horstepipe Wrote: hey mike
is this true or did he misunderstand me?
http://forum.kodi.tv/showthread.php?tid=...pid2441090
Best regards
I suspect he misunderstood you. It's quite possible I'm about to as well, but I think you're wanting to be able to toggle an add-ons setting, but without going to the add-ons settings page. If I'm understanding right, I don't believe that's possible directly as I don't believe there's a built-in function to toggle an addons settings (unless the addon itself provides a method). Indirectly, you could write a very simple addon (even a context menu addon) to do it, as addons can toggle another addons settings with:
Code:import xbmcaddon
xbmcaddon.Addon( "[addon.id]" ).setSetting( "[settingName]", "[value]" )
And then map a button to your new addon.
Thank you very much I'll try to figure it out.
Any other hints on how to build a context menu addon?