2022-07-23, 10:19
I can't get <nested /> in an include to work.
This is my include that should have the nested content inserted into it at the bottom:-
This is how I'm calling it:-
The <content> never gets inserted into where the <nested /> is. I know there is nothing wrong with the 'EpisodeRow' include because is I remove the <nested /> and manually add the <content> then it works perfectly. So my question is, is <nested /> broken or am I using it wrong?
Seems at least one other person has run into a similar issue @jurialmunkey posted https://forum.kodi.tv/showthread.php?tid=343872
This is my include that should have the nested content inserted into it at the bottom:-
xml:<include name="EpisodeRow">
<control type="group">
<top>0</top>
<height>576</height>
<include content="WidgetHeader">
<param name="header" value="$PARAM[header]" />
</include>
<include content="WidgetUpdateEpisoder">
<param name="id" value="$PARAM[id]" />
</include>
<control type="fixedlist" id="$PARAM[id]">
<include content="Animation_BounceRight">
<param name="id" value="$PARAM[id]" />
</include>
<include content="Animation_BounceLeft">
<param name="id" value="$PARAM[id]" />
</include>
<top>43</top>
<left>-562</left>
<width>2480</width>
<height>324</height>
<onleft>9000</onleft>
<ondown>$PARAM[onDown]</ondown>
<onup>$PARAM[onUp]</onup>
<onback>Setfocus(500)</onback>
<orientation>horizontal</orientation>
<preloaditems>2</preloaditems>
<focusposition>1</focusposition>
<itemlayout width="562" height="324">
<control type="group">
<left>63</left>
<include content="EpisodeLayout">
<param name="id" value="$PARAM[id]" />
<param name="width" value="544" />
<param name="height" value="306" />
</include>
</control>
</itemlayout>
<focusedlayout width="562" height="324">
<control type="group">
<left>63</left>
<include content="EpisodeLayout">
<param name="id" value="$PARAM[id]" />
<param name="width" value="544" />
<param name="height" value="306" />
<param name="focused" value="true" />
</include>
</control>
</focusedlayout>
<nested />
</control>
</control>
</include>
This is how I'm calling it:-
xml:<include content="EpisodeRow">
<param name="id" value="550" />
<param name="header" value="$INFO[Container(502).ListItemAbsolute(0).Title]" />
<param name="onUp" value="noop" />
<param name="onDown" value="551" />
<content sortby="episode" target="videos">$INFO[Container(502).ListItemAbsolute(0).FolderPath]</content>
</include>
The <content> never gets inserted into where the <nested /> is. I know there is nothing wrong with the 'EpisodeRow' include because is I remove the <nested /> and manually add the <content> then it works perfectly. So my question is, is <nested /> broken or am I using it wrong?
Seems at least one other person has run into a similar issue @jurialmunkey posted https://forum.kodi.tv/showthread.php?tid=343872