2023-12-01, 07:11
@dstealth
Are you setting the target attribute of the content? Generally you need to do something like
The target attribute tells Kodi which window any folder items should open in. Because you want to open it in MyVideoNav.xml then target should be videos. You can see the target names for window XML here: https://kodi.wiki/view/Window_IDs
In skinshortcuts it really depends on how you are using it but there's usually a widgetTarget property that you can use.
IF you're repurposing a skinshortcuts submenu to build widget templates then you'd do something like this (note I set a fallback to "videos" for the target in case it is empty as videos is probably most likely).
Also note that if you're defining custom shortcuts in skinshortcuts overrides then you need to specify the target there too
https://github.com/BigNoid/script.skinsh...widgets.md
Are you setting the target attribute of the content? Generally you need to do something like
xml:
<content target="videos">plugin://plugin.path.goes.here</content>
The target attribute tells Kodi which window any folder items should open in. Because you want to open it in MyVideoNav.xml then target should be videos. You can see the target names for window XML here: https://kodi.wiki/view/Window_IDs
In skinshortcuts it really depends on how you are using it but there's usually a widgetTarget property that you can use.
IF you're repurposing a skinshortcuts submenu to build widget templates then you'd do something like this (note I set a fallback to "videos" for the target in case it is empty as videos is probably most likely).
xml:
<items insert="widgets">
<property name="widgetPath" tag="property" attribute="name|list" />
<property name="widgetTarget" tag="property" attribute="name|widgetTarget" />
<property name="widgetTarget">videos</property>
<controls>
<control type="list">
[...]
<content target="$SKINSHORTCUTS[widgetTarget]">$SKINSHORTCUTS[widgetPath]</content>
</control>
<controls>
<items>
Also note that if you're defining custom shortcuts in skinshortcuts overrides then you need to specify the target there too
https://github.com/BigNoid/script.skinsh...widgets.md