New addon settings format in leia "ACTION"
#1
So since my addon will be for kodi 18 and 19 i was having issues with the setting.xml not working as i would like in both versions. So i updated the settings.xml to the new format.
One of my settings what actually a button to run the addon with specific arguments. but when i use the new format it does not allow me to run my addon from them anymore.

xml:
<setting id="option2" type="action" label="30344" help="">
<level>0</level>
<data>RunScript(screensaver.evolve.apple, option2)</data>
<constraints>
<allowempty>true</allowempty>
</constraints>
<control type="button" format="action">
<close>false</close>
</control>
</setting>

This is the best i could com up with everything looks right but in testing i cant get it to initiate the script. Any ideas of what i am doing wrong. I am using on kodi 18.5
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#2
Have you seen this post https://forum.kodi.tv/showthread.php?tid=350135 which points to a new wiki page by ronie https://kodi.wiki/view/Add-on_settings_conversion

Can't help with where you might be going wrong, so just pointing those out in case you hadn't seen them.
Reply
#3
(2019-12-29, 11:54)jjd-uk Wrote: Have you seen this post https://forum.kodi.tv/showthread.php?tid=350135 which points to a new wiki page by ronie https://kodi.wiki/view/Add-on_settings_conversion

Can't help with where you might be going wrong, so just pointing those out in case you hadn't seen them.

This is where I got what little example I have. But thank you.
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#4
it is not recommended to use the new settings format in Kodi 18, it still has many bugs there.
in Kodi 19, all of those should be fixed and your setting will work fine.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
New addon settings format in leia "ACTION"0