Kodi Community Forum
Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) (/showthread.php?tid=130284)



Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - kromix - 2012-04-29

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>



RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - Mudislander - 2012-04-29

You need to add the <colordiffuse>BBFFFFFF</colordiffuse> to Control.IsVisible(503) section in your 2nd post


RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - mad-max - 2012-04-29

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
Hah, mudislander was faster...but I think you should get it...


RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - kromix - 2012-04-29

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!


RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - Mudislander - 2012-04-29

@ 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


RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - mad-max - 2012-04-29

(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






RE: Helping Changing Transparency in Media Info 2 view - TV Shows (Code Inside) - kromix - 2012-04-30

Ahh sweet, thanks for the Pro-Tip mad-max