2012-11-09, 13:21
Strange, it's not populating the list for me. I don't have to call the add-on anywhere as it is a service right?
<content>
<item>
<label>$INFO[Window(Home).Property(RecentEpisode.1.Title)]</label>
<property name="EpisodeNumber">$INFO[Window(Home).Property(RecentEpisode.1.EpisodeNo)]</property>
</item>
<item>
<label>$INFO[Window(Home).Property(RecentEpisode.2.Title)]</label>
<property name="EpisodeNumber">$INFO[Window(Home).Property(RecentEpisode.2.EpisodeNo)]</property>
</item>
<content>
(2012-11-09, 13:52)Jeroen Wrote: What's being used as a label is step 2, my first problem is that the container itself is not being populated with movies or shows so there are no items to set a label for.
<control type="list">
[...]
<itemlayout>
<control type="label">
[...]
<label>$INFO[ListItem.Label]</label>
<label2>$INFO[ListItem.Property(Year)]</label2>
</control>
</itemlayout>
<focusedlayout>
<control type="label">
[...]
<label>$INFO[ListItem.Label]</label>
<label2>$INFO[ListItem.Property(Year)]</label2>
</control>
</focusedlayout>
<content>
<item id="1">
<label>$INFO[Window(Home).Property(RecentMovie.1.Title)]</label>
<property name="Year">$INFO[Window(Home).Property(RecentMovie.1.Year)]</property>
<onclick>$INFO[Window(Home).Property(RecentMovie.1.Play)]</onclick>
</item>
[...]
</content>
</control>
<visible>IsEmpty(Container(8001).ListItem.Property(Logo))</visible>
(2012-11-06, 21:33)Martijn Wrote:PHP Code:<onclick>$INFO[Window(Home).Property(RecommendedMovie.4.Play)]</onclick>
(2012-11-13, 00:46)`Black Wrote:(2012-11-06, 21:33)Martijn Wrote:PHP Code:<onclick>$INFO[Window(Home).Property(RecommendedMovie.4.Play)]</onclick>
This doesn't work for me at all. Here's the log. Happens on OS X and Windows.
Quote:23:38:01 T:140735126258048 DEBUG: ExecuteXBMCAction : Translating PlayMedia($INFO[Container(3022).ListItem.Property(Play)])