2014-05-12, 18:13
Hi there,
After referring to this page: http://wiki.xbmc.org/?title=InfoLabels
I decided to use LatestAlbum.[1-10].Thumb to retrieve the album cover to be displayed under recently added albums.
I went with a list control. This is my code:
I can not, for the life of me, get the album covers to show up.
I have the skin services add-on installed, so tried with RecentAlbums and RandomAlbum, no dice.
What gives?
After referring to this page: http://wiki.xbmc.org/?title=InfoLabels
I decided to use LatestAlbum.[1-10].Thumb to retrieve the album cover to be displayed under recently added albums.
I went with a list control. This is my code:
PHP Code:
<include name="HomeMenu_MusicRecentlyAdded">
<control type="list" id="940">
<posx>0</posx>
<posy>0</posy>
<width>500</width>
<height>400</height>
<allowoverlay>false</allowoverlay>
<orientation>vertical</orientation>
<visible>Container(300).HasFocus(2) + Library.HasContent(Music)</visible>
<itemlayout width="900" height="350">
<control type="label">
<posx>0</posx>
<posy>20</posy>
<font>Small</font>
<height>50</height>
<textcolor>white</textcolor>
<info>ListItem.Label</info>
</control>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>350</width>
<height>350</height>
<texture>$INFO[ListItem.Thumb]</texture>
</control>
</itemlayout>
<focusedlayout width="900" height="350">
<control type="label">
<posx>0</posx>
<posy>20</posy>
<height>50</height>
<font>Small</font>
<textcolor>white</textcolor>
<info>ListItem.Label</info>
</control>
<control type="image">
<posx>200</posx>
<posy>20</posy>
<width>350</width>
<height>350</height>
<texture>$INFO[ListItem.Thumb]</texture>
</control>
</focusedlayout>
<content>
<item id="941">
<info>Window(Home).Property(RecentAlbum.1.Title)</info>
<texture>$INFO[Window.Property(RandomMovie.1.fanart)]</texture>
<onclick>-</onclick>
</item>
<item id="942">
<info>Window(Home).Property(RecentAlbum.2.Title)</info>
<texture>$INFO[Window(Home).Property(RandomMovie.1.Art(fanart))]</texture>
<onclick>-</onclick>
</item>
</content>
</control>
</include>
I can not, for the life of me, get the album covers to show up.
I have the skin services add-on installed, so tried with RecentAlbums and RandomAlbum, no dice.
What gives?