Help - Search - Members - Calendar
Full Version: Question/request Concerning Minor Xtv Mod...
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > XBMC for Xbox Forums > XBMC Skinning > (XBMC) Skin Development
competes2win
Hey everyone, I just made the switch from Vision to Xtv... Both great skins, I just needed something new, and of course I love the Xtv animations... Anyhow my question is what and how do I edit in order to allow videos to play in the background like in Vision and other skins... I am primarily concerned with adding this function to the main menu, but If I could, I would prefer to have it in all windows as in the Vision Skin... If this has already been done by someone, might I request the .xml or whatever file that is needed?

thanks in advance, and sorry for any inconvenience,
-competes2win
competes2win
No one? lol it's ok.... I always hated when someone posted a random stupid thread and no one replied so the creator goes "No one!??!" as if he actually had something interesting to ask in the first place... apparently thats me now... bummer, hypocrite.
Jezz_X
You need to open up includes.xml in the pal dir and look or this
CODE
    <!-- Begin background image include -->
    <include name="background">
        <control type="visualisation">
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
            <visible>!Skin.HasSetting(back-vis)</visible>
        </control>
        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
            <texture>background.png</texture>
            <visible>!Skin.String(custom-background)</visible>
            <animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio + !Skin.HasSetting(back-vis)]">Conditional</animation>
        </control>
        <control type="image">
            <description>custom background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
            <info>Skin.String(custom-background)</info>
            <animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio + !Skin.HasSetting(back-vis)]">Conditional</animation>
        </control>
    </include>
    <!-- End background image include -->


and change it a little by adding a video control like the vis one then changing the Conditions of the conditional animations to also fade the background when the Player.HasVideo
competes2win
Hey Jezz X thanks for the reply but I couldn't get it to work still.. This is what I did to the includes.xml:

<include name="background">
<control type="visualisation">
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<visible>!Skin.HasSetting(HomeViewToggle)</visible>
</control>
<control type="video">
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<visible>!Skin.HasSetting(HomeViewToggle)</visible>
</control>
<control type="image">
<description>background</description>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<texture>background.png</texture>
<visible>!Skin.String(custom-background)</visible>
<animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio | Player.HasVideo] + !Skin.HasSetting(HomeViewToggle)">Conditional</animation>
</control>
<control type="image">
<description>custom background</description>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<info>Skin.String(custom-background)</info>
<animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio + !Skin.HasSetting(HomeViewToggle)]">Conditional</animation>
</control>
</include>
<!-- End background image include -->

I just added the second control, copied and pasted the visualization one... also tried to make the visibility: !skin.HasSetting(back_vis) and I also added to the background control "[Player.HasAudio | Player.HasVideo]"

obviously I didn't do what was necessary...

anways just letting you, know... any further help would be appreciated, time permitting of course.


CHI3f
CODE

    <!-- Begin background image include -->
    <include name="background">
        <control type="visualisation">
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
             <visible>!Skin.HasSetting(HomeViewToggle)</visible>
        </control>
        <control type="videowindow">
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
             <visible>!Skin.HasSetting(HomeViewToggle)</visible>
        </control>
        <control type="image">
            <description>background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
            <texture>background.png</texture>
            <visible>!Skin.String(custom-background)</visible>
            <animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio | Player.HasVideo + !Skin.HasSetting(HomeViewToggle)]">Conditional</animation>
        </control>
        <control type="image">
            <description>custom background</description>
            <posx>0</posx>
            <posy>0</posy>
            <width>720</width>
            <height>576</height>
            <info>Skin.String(custom-background)</info>
            <animation effect="fade" start="100" end="80" time="0" condition="[Player.HasAudio | Player.HasVideo + !Skin.HasSetting(HomeViewToggle)]">Conditional</animation>
        </control>
    </include>
    <!-- End background image include -->


Try that, I have not tried it but it looks right.
LoL
wooow that works great!
i've missed this function, can you make it optional or just standard?

great work man! cool.gif

LoL wink.gif
competes2win
Chi3f your the greatest man. Works great. Thanks a bunch... One other thing I think would be brilliant for your skin is the option to go to Games, and Emulators from the home screen (maybe making them optional like how the weather and youtube is)... I was thinking about trying to mod mine, which I think would be the same as modding the buttons in PM3 which I've done before... but then I realized, I had no corresponding icons for those... Anyways, just babbling, but I think that would be a great feature.

Great skin, and again thanks for the help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.