2016-11-03, 10:20
Hi,
1. I've got wraplist for album.
2. Wraplist is filled with name album and cover
3. In position where there is no cover (only name album) visibility is set to false.
4. When wraplist is displayed, in visualisation where visibility is set to false I've got reserve cover with fallback="defaultaudiocover.png"
When I delete fallback="defaultaudiocover.png" from
for code
it displaying empty items in list
5. I want to display wraplist without reserve picture(graphic), empty postitions. Everythink is filled by existing graphic (all position in view)
Please help. Maybe someone knows how to do it.
JB
1. I've got wraplist for album.
PHP Code:
<control type="wraplist" id="880004">
<viewtype label="icon">List Info</viewtype>
<left>30</left>
<top>130</top>
<width>510</width>
<height>90</height>
<orientation>horizontal</orientation>
<scrolltime tween="cubic" easing="inout">6000</scrolltime>
<preloaditems>6</preloaditems>
<focusposition>6</focusposition>
<autoscroll>true</autoscroll>
<viewtype>false</viewtype>
<itemlayout height="170" width="85">
<control type="image">
<left>0</left>
<top>5</top>
<width>80</width>
<height>80</height>
<aligny>center</aligny>
<align>center</align>
<aspectratio>scale</aspectratio>
<include>Animation_Fade</include>
<texture fallback="defaultaudiocover.png" diffuse="thumb_shelf_diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
<animation effect="fade" end="50" condition="true">Conditional</animation>
</control>
</itemlayout>
(...)
</control>
2. Wraplist is filled with name album and cover
PHP Code:
<content>
<item id="1">
<icon>$INFO[Window(Visualisation).Property(ArtistSlideshow.1.AlbumThumb)]</icon>
<label>$INFO[Window(Visualisation).Property(ArtistSlideshow.1.AlbumName)]</label>
<onclick>noop</onclick>
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumThumb))</visible>
</item>
(...)
</content>
3. In position where there is no cover (only name album) visibility is set to false.
PHP Code:
<visible>!IsEmpty(Window(Visualisation).Property(ArtistSlideshow.1.AlbumThumb))</visible>
4. When wraplist is displayed, in visualisation where visibility is set to false I've got reserve cover with fallback="defaultaudiocover.png"
When I delete fallback="defaultaudiocover.png" from
PHP Code:
<texture fallback="defaultaudiocover.png" diffuse="thumb_shelf_diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
PHP Code:
<texture diffuse="thumb_shelf_diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
5. I want to display wraplist without reserve picture(graphic), empty postitions. Everythink is filled by existing graphic (all position in view)
Please help. Maybe someone knows how to do it.
JB