Kodi Community Forum

Full Version: add widget in the includes_home.xml
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I want to enable widgets by default in the includes_home.xml

I modified followings :

PHP Code:
            <property name="Widget" fallback="plugin://plugin.video.mytest/">$INFO[Skin.String(MovieHomeItem.Widget)]</property>
            <
property name="WidgetLabel" fallback="my test plugin">$INFO[Skin.String(MovieHomeItem.WidgetLabel)]</property>
            <
property name="WidgetType" fallback="1">$INFO[Skin.String(MovieHomeItem.WidgetType)]</property

As I found these values from guisettings.xml. They are correct yet nothing is shown as widget.
I guess while typing and entering information, xml codes also does something else....
I kind of narrowed to setting nox.widgettype?

Anyway...Is it possible so I modify it so by installing the skin I have by default enabled widgets?

Thanks
Its a bit more complex than editing one file to change the widgets. You will need to edit multiple files.

See this thread. 227102 (thread). My mod may do what you need (when released). If not you can always request a feature.