Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1816

Access list item data in a different list

$
0
0
I can't seem to access data from one list in another list.

I have a fake list of inprogress tvshows that contains one item and I need to pass the data to another list:-

<control type="list" id="9002">
  <itemlayout />
  <focusedlayout />
  <content sortby="playcount" sortorder="ascending" limit="1" type="videos">videodb://inprogresstvshows/$INFO[Container(9001).ListItem.DBID]/-2/?tvshowid=$INFO[Container(9001).ListItem.DBID]</content>
</control>

I can access this data in a standard label:-

<control type="label">
  <label>$INFO[Container(9002).ListItem.Title</label>
</control>

Works perfectly as expected, however if I try to access the data from another list's layout it doesn't work:-

<control type="list" id="9000">
  <itemlayout >
    <control type="label">
      <label>$INFO[Container(9002).ListItem.Title</label>
    </control>
  </itemlayout>
  <focusedlayout >
    <control type="label">
      <label>$INFO[Container(9002).ListItem.Title</label>
    </control>
  </focusedlayout>
  <content>   This list already has content  </content>
</control>

Is this a bug?

Viewing all articles
Browse latest Browse all 1816

Trending Articles