Custom background on custom home menu button
#1
Hello

I am using XBMC Frodo on Windows 7 and I created some custom home menu buttons editig the file Home.xml with this code:

Code:
<item id="91">
            <label>Kids</label>
            <onclick>ActivateWindow(Videos,TVShowTitles,return)</onclick>
</item>

Is it possible to add some code for configure a personal background for this button?



Thanks a lot.
Reply
#2
You need a image control as an Icon with fullscreen dimensions and add <icon>pathtoyourimage<icon> to the control...
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#3
I have added the tag like this:


Code:
<item id="91">
                        <label>Series</label>
                        <onclick>ActivateWindow(Videos,TVShowTitles,return)</onclick>
                        <icon>special://masterprofile/fondo.jpg</icon>
</item>

But it doesn't works.

The file "fondo.jpg" is copied at userdata folder.
Reply
#4
You also added an image control up in the Home.xml that shall show the icon?

PHP Code:
        <control type="multiimage">
            <
posx>0</posx>
            <
posy>0</posy>
            <
width>1280</width>
            <
height>720</height>
            <
imagepath background="true">$INFO[Container(9000).ListItem.Icon]</imagepath>
            <
timeperimage>8000</timeperimage>
            <
randomize>true</randomize>
            <
fadetime>300</fadetime>
            <
visible>Skin.HasSetting(SeparateBackdrops)</visible>
        </
control
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#5
mad-max,

I cannot seem to get this to work. Where do I need to put that control type? In focusedlayout or itemlayout?

Thanks for your help.
TV: VIZIO E-Series 43”
HTPC: Raspberry Pi 3
STORAGE: Windows 8 Server with DrivePool (Currently with 24TB)
Reply

Logout Mark Read Team Forum Stats Members Help
Custom background on custom home menu button0