2013-10-15, 09:10
As discussed at last years devcon adding a <support> section in addon.xml for addons would solve the problem of people installing touch only skins without them having touch systems and get stuck. there's no way back besides removing the guisettings file or the skin itself.
this has some advantages.
* warn users that they are installing something that their system doesn't support
* show if skins support feature foo
So discus what's the best way to do this.
imo this is something that we should have in Gotham (if time permits ofcourse)
Possibilities:
Option1:
Option2:
Option3:
or if some one knows a better way......
this has some advantages.
* warn users that they are installing something that their system doesn't support
* show if skins support feature foo
So discus what's the best way to do this.
imo this is something that we should have in Gotham (if time permits ofcourse)
Possibilities:
Option1:
PHP Code:
<extension point="xbmc.addon.metadata">
<support>
<pvr>false</pvr>
<input>
<keyboard>false</keyboard>
<mouse>true</mouse>
<touch>true</touch>
</input>
</support>
</extension>
Option2:
PHP Code:
<extension point="xbmc.addon.metadata">
<support>mouse touched pvr</support>
</extension>
Option3:
PHP Code:
<extension point="xbmc.addon.metadata">
<supports>
<support>pvr</support>
<support>touch</support>
</supports>
</extension>
or if some one knows a better way......