Actions on new settings format
#1
How does this function translate into the new format?
python:

<setting id="logout" type="action" label="30017" action="RunPlugin(plugin://plugin.video.netflix/action/logout/)" option="close"/>


xml:

<setting id="logout" type="action" label="30017">
<level>0</level>
<control type="button" format="action" />
</setting>

how do i intercept the id action on python?
I have seen that it is necessary use OnSettingAction() ? how?
Dev-Maintainer of Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#2
I'm new to building add-ons and I found references but no documentation or examples of the new settings format... Is there any information anywhere on how to get started on converting the old to the new format?
Reply
#3
(2019-05-02, 18:28)Snapcase Wrote: I'm new to building add-ons and I found references but no documentation or examples of the new settings format... Is there any information anywhere on how to get started on converting the old to the new format?

If you are new to development, i suggest that you do not complicate things by using the new format...
If we can't manage actions on python, at this time it's a big gap
Dev-Maintainer of Netflix add-on ▫ Skills Python, C#, VB.NET and a bit of C++
Reply
#4
Yeah I'm sticking to the old format for now, but since I was starting something new I looked into it. I figured using the new format now might save me work instead of switching later but it looks like that's not the case yet.
Reply

Logout Mark Read Team Forum Stats Members Help
Actions on new settings format0