Static List Multi Images
#16
One presumes you mean the multiimage inside the itemlayout thing, rather than more ways to specify values for content inside the <content> tag?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#17
Yes, sorry for not being specific. I tried earlier and the itemlayout images are the same as the focusedlayout ones.
Reply
#18
Sorry for bumping but I'm not trying to push this I just simply want to know whether to go ahead and start some recoding work or not.

Thanks.
Reply
#19
r30930 should do the trick I think?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#20
Excellent, thanks.

Any idea why the Windows nightly build didn't appear but the Mac one did?
Reply
#21
I believe they're disabled unintentionally. Our builtbot master is currently setting up for Linuxtag in Berlin, so I suspect it might be a day or two before it gets sorted.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#22
Had a play around with this today but unfortunately multiimage in the <itemlayout> still returns the <focusedlayout> item.

Off topic but at least I managed to reduce my home code by another 200 lines.
Reply
#23
Um, what??
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#24
I was trying to use multiimage in in the itemlayout and focusedlayout controls for Alaska Revisted but all of them show the focused multiimage folder.

Don't sweat it though I've cleaned up the current code in the process.
Reply
#25
your not using Container(blah).ListItem.Icon are you instead of just ListItem.Icon ?
Reply
#26
Jezz_X Wrote:your not using Container(blah).ListItem.Icon are you instead of just ListItem.Icon ?

Had another bash at getting this working yesterday and I think I was using Container() before but without that nothing shows up.

How exactly should I be using the <imagepath></imagepath> tags for the itemlayout/focusedlayout and how should it be labelled in the content/items section?

Thanks.
Reply
#27
<imagepath> should use something like ListItem.Icon.

Other than that, it's the same as a normal image control I should think.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#28
Still not working.

Here's the code I'm using to test -
PHP Code:
<itemlayout width="349" height="260">
<
control type="label">
    <
posx>0</posx>
    <
posy>0</posy>
    <
width>1920</width>
    <
label>$INFO[ListItem.Icon]</label>
    <
font>Font_Time</font>
    <
textcolor>MainMenu</textcolor>        
</
control>
<
control type="multiimage">
    <
width>349</width>
    <
height>260</height>
    <
posx>10</posx>
    <
posy>10</posy>
    <
randomize>true</randomize>
    <
timeperimage>8000</timeperimage>
    <
fadetime>1200</fadetime>
    <
aspectratio aligny="top" scalediffuse="false">scale</aspectratio>
    <
imagepath background="true">$INFO[ListItem.Icon]</imagepath>
</
control>            
</
itemlayout>
<
focusedlayout width="349" height="260">
<
control type="label">
    <
posx>0</posx>
    <
posy>0</posy>
    <
width>1920</width>
    <
label>$INFO[ListItem.Icon]</label>
    <
font>Font_Time</font>
    <
textcolor>MainMenu</textcolor>        
</
control>
<
control type="multiimage">
    <
width>349</width>
    <
height>260</height>
    <
posx>10</posx>
    <
posy>10</posy>
    <
randomize>true</randomize>
    <
timeperimage>8000</timeperimage>
    <
fadetime>1200</fadetime>
    <
aspectratio aligny="top" scalediffuse="false">scale</aspectratio>
    <
imagepath background="true" >$INFO[ListItem.Icon]</imagepath>
</
control>
</
focusedlayout>
<
content>
<
item id="1">
    <
description>Videos</description>
    <
icon>$INFO[Skin.String(CustomProgramsFolder)]</icon>
    <
onclick>ActivateWindow(VideoFiles)</onclick>
    <
visible>!Skin.HasSetting(NoVideos)</visible>
</
item>
<
item id="2">
    <
description>Music</description>
    <
icon>$INFO[Skin.String(CustomMusicFolder)]</icon>
    <
onclick>ActivateWindow(Music)</onclick>
    <
visible>!Skin.HasSetting(NoMusic)</visible>
</
item>
<
item id="3">
    <
description>Movies</description>
    <
icon>$INFO[Skin.String(CustomMoviesFolder)]</icon>
    <
onclick>ActivateWindow(VideoLibrary,movietitles)</onclick>
    <
visible>!Skin.HasSetting(NoMovies)</visible>
</
item
As you can see I'm using the ListItem.Icon as a label to see if it's getting the correct folder for the multiimage control which it does but both the images are empty.

Thanks.

EDIT: Just to make doubly sure I've got it all correct I'm using a multiimage control outside the list with <imagepath>$INFO[Container(300).ListItem.Icon]</imagepath> and that does indeed work.
Reply
#29
Ok - mind hacking up a test for Confluence?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#30
Sure.
Reply

Logout Mark Read Team Forum Stats Members Help
Static List Multi Images0