[HELP] Muliimage with diffuse
#1
I am trying to get a diffuse to work on a multiimage path. I can get the images to appear just fine, but I can't get the diffuse to show on them as well.

I stored the images in a folder in media called "Genres." The code I tried it below..

<control type="multiimage">
<posx>0</posx>
<posy>0</posy>
<width>1280</width>
<height>620</height>
<timeperimage>5000</timeperimage>
<randomize>true</randomize>
<fadetime>2000</fadetime>
<aspectratio scalediffuse="false">scale</aspectratio>
<imagepath>Genres</imagepath>
<texture diffuse="Fanart_Diffuse.png">Genres</texture>
<visible>Control.IsVisible(57) + Container.Content(Genres)</visible>
<include>VisibleFadeEffect</include>
<include>Window_OpenClose_Animation</include>
</control>

The Fanart_Diffuse is in my media as well. I can get it on a single image, but I want to use multiimage. I have tried removing the <imagepath> line, but that makes the images not show.

Is it possible for me to add the diffuse to a folder of icons? Thanks!
Reply
#2
It's not supported.
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
#3
i really should not jump in, since i'm usually wrong in what someone wants, but...

this works fine in twc supplemental.
PHP Code:
<!-- Fanart multiimage -->
            <
control type="multiimage">
                <
description>fanart weather conditions</description>
                <
posx>50</posx>
                <
posy>50</posy>
                <
width>630</width>
                <
height>445</height>
                <
imagepath diffuse="twc-fanart-diffuse.png">$INFO[Skin.String(twc-fanart-path)]$INFO[Weather.FanartCode]</imagepath>
                <
timeperimage>10000</timeperimage>
                <
pauseatend>0</pauseatend>
                <
fadetime>1000</fadetime>
                <
randomize>true</randomize>
                <
colordiffuse>$INFO[Skin.String(twc-fanart-diffusecolor)]</colordiffuse>
                <
loop>yes</loop>
                <
aspectratio>stretch</aspectratio>
                <
visible>Skin.HasSetting(twc-fanart-type)</visible>
            </
control
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
That's a single image though, right? Not multiple images?

I can't remember whether I added support for it or not :p
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
#5
Nuka is correct.

That did exactly what I wanted it to do.

Thanks for help!
Reply
#6
I got everything going good with Nuka's code, but I have one problem. When the images switch there is a glitch at the bottom where the diffuse is every time. It seems like the diffuse reloads itself with every image instead of staying steady and only the images switching. Any suggestions on how to correct this?

Here is what I am using..

<control type="multiimage">
<description>music background</description>
<posx>0</posx>
<posy>105</posy>
<width>1280</width>
<height>345</height>
<imagepath diffuse="Fanart_Diffuse.png">Music</imagepath>
<timeperimage>5000</timeperimage>
<fadetime>1000</fadetime>
<aspectratio>stretch</aspectratio>
<randomize>true</randomize>
<visible>Control.IsVisible(53) + Window.IsVisible(MusicLibrary) </visible>
</control>
Reply
#7
I've noticed a flash in TWC script. but it doesn't always do it.

so maybe it is the diffuse texture showing while images change.

maybe trac this with a reproducable test.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#8
I know the flash you are talking about. It does it on one of my systems, but not the other.

One of them is the most recent builds, including TWC. Did anything change in the coding of the TWC?
Reply
#9
I tested it on a previous build from T3CH (1-25) rather than 3-4, and the result was the same. Also tested it on a PC, but not change. However, the TWC does not glitch in the 1-25 build.

Strange...

I opened a ticket for it, so hopefully it can be resolved because it is a nice feature to have.
Reply
#10
confirm fixed.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#11
Thanks for your help of this Nuka. Just got to wait for a good t3ch release. I really should put some effort into learning how to make my own builds.
Reply
#12
Nuka,

I got a new build, 3-25, and it had in the change log that this issue was correct.

2009-03-23 18844 fixed: Ticket #6121 - Multiimages using diffusecolor would flash on change.

However, it still flashes for me when I used the code I have posted on the first page. Any suggestions why it may be doing it still. I am using the fanart diffuse within pm3.hd. I currently have it multiimaging in my music and video genre folders.
Reply
#13
i am having the same issue coud this be added to XBMC. something like:

PHP Code:
<imagepath diffuse="multiplex/extras_thumb_mask.png">$INFO
[ListItem.Path,,extrathumbs]</imagepath
Reply

Logout Mark Read Team Forum Stats Members Help
[HELP] Muliimage with diffuse1