Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kromix Offline
Member
Posts: 76
Joined: Mar 2011
Reputation: 0
Post: #1
So based on the recommendations of thread http://forum.xbmc.org/showthread.php?tid=126781 I changed the following code listed below, and it did change the transparency of both my Movies - Fan Art view and TV show Media Info view.

However, I would like to use TV - Media Info 2 view as it takes up less room, but the transparency on that view was not changed, what am I missing?

Here is a copy of my IncludesBackgroundBuilding.xml

Code:
<includes>
    <include name="CommonMediaPlayingBackground">
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture>special://skin/backgrounds/media-overlay.png</texture>
            <visible>Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)</visible>
        </control>
        <control type="visualisation">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <visible>Player.HasAudio + !Skin.HasSetting(ShowBackgroundVis)</visible>
            <visible>!SubString(Window(videolibrary).Property(TvTunesIsAlive),True)</visible>
        </control>
        <control type="videowindow">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <visible>Player.HasVideo + !Skin.HasSetting(ShowBackgroundVideo)</visible>
        </control>
    </include>
    <include name="CommonVideoBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/videos.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Video_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>backgroundfade</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
    </include>
    <include name="CommonMusicBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/music.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Music_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>backgroundfade</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
    </include>
    <include name="CommonPictureBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/pictures.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Pictures_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>backgroundfade</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
    </include>
    <include name="CommonProgramsBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/programs.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Programs_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>backgroundfade</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
    </include>
    <include name="CommonWeatherBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/weather.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Weather_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
            <visible>![Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))]</visible>
        </control>
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath background="true">$INFO[Skin.String(WeatherFanartDir)]$INFO[Window(Weather).Property(Current.FanartCode)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
            <visible>Skin.HasSetting(ShowWeatherFanart) + !IsEmpty(Skin.String(WeatherFanartDir))</visible>
            <animation effect="fade" time="200">WindowClose</animation>
        </control>
    </include>
    <include name="CommonSettingsBackground">
        <control type="multiimage">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <imagepath fallback="special://skin/backgrounds/settings.jpg" background="true">$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</imagepath>
            <timeperimage>10000</timeperimage>
            <randomize>true</randomize>
            <fadetime>1000</fadetime>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>0</posy>
            <width>1280</width>
            <height>720</height>
            <texture background="true">$INFO[ListItem.Property(Fanart_Image)]</texture>
            <include>backgroundfade</include>
            <fadetime>FanartCrossfadeTime</fadetime>
            <visible>!Skin.HasSetting(HideBackGroundFanart) + !IsEmpty(ListItem.Property(Fanart_Image))</visible>
            <include>Window_OpenClose_Animation</include>
        </control>
    </include>

Continued in next post, maximum chars.

Code:
    <include name="ContentPanelBackgrounds">
        <control type="image">
            <posx>0</posx>
            <posy>100r</posy>
            <width>1280</width>
            <height>100</height>
            <texture>floor.png</texture>
            <animation effect="slide" start="0,10" end="0,0" time="200" condition="Window.Previous(Home)">WindowOpen</animation>
            <animation effect="slide" start="0,0" end="0,10" time="200" condition="Window.Next(Home)">WindowClose</animation>
        </control>
        <control type="group">
            <include>Window_OpenClose_Animation</include>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(50)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>60</posy>
                    <width>750</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>750</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(504) | Control.IsVisible(550) | Control.IsVisible(512)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>60</posy>
                    <width>640</width>
                    <height>600</height>
                    <colordiffuse>BBFFFFFF</colordiffuse>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>640</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
                <control type="image">
                    <posx>700</posx>
                    <posy>60</posy>
                    <width>530</width>
                    <height>600</height>
                    <colordiffuse>BBFFFFFF</colordiffuse>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>700</posx>
                    <posy>652</posy>
                    <width>530</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(551) | Control.IsVisible(560) | Control.IsVisible(511) | Control.IsVisible(506) | Control.IsVisible(513)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>60</posy>
                    <width>840</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>840</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
                <control type="image">
                    <posx>900</posx>
                    <posy>60</posy>
                    <width>330</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>900</posx>
                    <posy>652</posy>
                    <width>330</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(501)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>50</posy>
                    <width>1180</width>
                    <height>610</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>1180</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(503)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>230</posy>
                    <width>640</width>
                    <height>430</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>640</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
                <control type="image">
                    <posx>700</posx>
                    <posy>230</posy>
                    <width>550</width>
                    <height>430</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>700</posx>
                    <posy>652</posy>
                    <width>550</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(51) | Control.IsVisible(500) | Control.IsVisible(505)</visible>
                <control type="image">
                    <posx>75</posx>
                    <posy>60</posy>
                    <width>1130</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>75</posx>
                    <posy>652</posy>
                    <width>1130</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
            <control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(514)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>60</posy>
                    <width>490</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>490</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
                <control type="image">
                    <posx>550</posx>
                    <posy>60</posy>
                    <width>680</width>
                    <height>600</height>
                    <texture border="15">ContentPanel.png</texture>
                </control>
                <control type="image">
                    <posx>550</posx>
                    <posy>652</posy>
                    <width>680</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
            </control>
        </control>
    </include>
</includes>
(This post was last modified: 2012-04-29 21:05 by kromix.)
find quote
Mudislander Offline
Skilled Skinner
Posts: 1,676
Joined: Jun 2009
Reputation: 39
Post: #2
You need to add the <colordiffuse>BBFFFFFF</colordiffuse> to Control.IsVisible(503) section in your 2nd post

Noli illegitimi carborundum
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 56
Location: Germany
Post: #3
Includes BackgroundBuilding.xml

Search for
Code:
<control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(503)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>230</posy>
                    <width>640</width>
                    <height>430</height>
                    <texture border="15">ContentPanel.png</texture>

And change to:
Code:
<control type="group">
                <include>VisibleFadeEffect</include>
                <visible>Control.IsVisible(503)</visible>
                <control type="image">
                    <posx>50</posx>
                    <posy>230</posy>
                    <width>640</width>
                    <height>430</height>
                    <texture border="15">ContentPanel.png</texture>
                    <colordiffuse>BBFFFFFF</colordiffuse>
                </control>
                <control type="image">
                    <posx>50</posx>
                    <posy>652</posy>
                    <width>640</width>
                    <height>64</height>
                    <texture border="15">ContentPanelMirror.png</texture>
                </control>
                <control type="image">
                    <posx>700</posx>
                    <posy>230</posy>
                    <width>550</width>
                    <height>430</height>
                    <texture border="15">ContentPanel.png</texture>
                    <colordiffuse>BBFFFFFF</colordiffuse>
                </control>

[Image: photo-536-a9864e65.jpg]
Hah, mudislander was faster...but I think you should get it...

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
(This post was last modified: 2012-04-29 21:59 by mad-max.)
find quote
kromix Offline
Member
Posts: 76
Joined: Mar 2011
Reputation: 0
Post: #4
Thanks Gents, thats what I missed Wink I just wasn't sure how to figure out which # = which view, so I guess 503 = Media Info 2?

Thanks!
find quote
Mudislander Offline
Skilled Skinner
Posts: 1,676
Joined: Jun 2009
Reputation: 39
Post: #5
@ kromix actually <include name="MediaListView3">


@Max -It's a bastard when you spend time on a post, only to find once it's through someone beat you Big Grin Been happening to me a lot lately

Noli illegitimi carborundum
(This post was last modified: 2012-04-29 22:05 by Mudislander.)
find quote
mad-max Offline
Posting Freak
Posts: 1,476
Joined: Jul 2010
Reputation: 56
Location: Germany
Post: #6
(2012-04-29 22:01)kromix Wrote:  Thanks Gents, thats what I missed Wink I just wasn't sure how to figure out which # = which view, so I guess 503 = Media Info 2?
Just a heads up:
If you're not sure which control you are looking for, close XBMC, open addon.xml of the skin and change "debugging" to true. Save and start XBMC again.
That way you always see the focused control in the upper left, like on my screenshot...
Makes life so much easier Wink


(2012-04-29 22:03)Mudislander Wrote:  @Max -It's a bastard when you spend time on a post, only to find once it's through someone beat you Big Grin Been happening to me a lot lately
Yeah! Hate it like hell Devil
But on the other hand it's pretty cool as you see/know that there is always someone who takes care of the requests from the users CoolNod

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
kromix Offline
Member
Posts: 76
Joined: Mar 2011
Reputation: 0
Post: #7
Ahh sweet, thanks for the Pro-Tip mad-max
find quote