2015-02-23, 02:10
(2015-02-22, 23:27)mxlance Wrote: warning modding question follows?
i am trying to add a second background image as a smaller inset while maintaining the existing background full size behind.
see first image here: http://forum.kodi.tv/showthread.php?tid=219057
this is what i tried:
defults.xml added:
<default type="multiimage2">
<aspectratio align="center">scale</aspectratio>
<fadetime>FanartCrossfadeTime</fadetime>
<include>InsetDimensions</include>
<timeperimage>7000</timeperimage>
<randomize>true</randomize>
Includes_CommonValues.xml added:
<include name="InsetDimensions">
<left>500</left>
<top>75</top>
<width>1450</width>
<height>816</height>
Home.xml added:
<include>CommonBackground</include>
<include>InsetBackground</include>
IncludesBackgroundBuilding.xml
duplicated and repeated code and named the duplicate
<include name="InsetBackground">
changed all occurrences of
<include>FullscreenDimensions</include>
to
<include>InsetDimensions</include>
Problem: i can get one or the other to show but not both.
i can get the Fullscreen version or the Inset version but not both
what an i doing wrong?
hope my question is clear
thank you
(2015-02-23, 00:18)mxlance Wrote: thanks for the reply
in the IncludesBackgroundBuilding.xml they are in this order:
<include>FullscreenDimensions</include>
<include name="InsetBackground">
so yes smaller image after full.
any other ideas? i am probably doing something really basic wrong. but what?
thanks
Code snippets are hard to decipher. If you PM me the files It would be easier for me to see what your currently working with... That being said the fullscreendimensions include is just a quick way to add <width>1920 <height>1080 so including them both in one image control will cancel the other out so you would need separate images and include the fullscreendimensions for the background then add another image with your inset include... unless I am missing something...
I see this:
Quote:IncludesBackgroundBuilding.xmlwhich, like I said code snippets are hard to get, looks like you copied and pasted where it said fullscreen dimensions and altered it to be inset?
duplicated and repeated code and named the duplicate
<include name="InsetBackground">
changed all occurrences of
<include>FullscreenDimensions</include>
to
<include>InsetDimensions</include>
Just realized this:
Quote:<include>FullscreenDimensions</include>that does not look right
<include name="InsetBackground">