Skip to content

Instantly share code, notes, and snippets.

@henryjfry
Last active May 30, 2020 14:49
Show Gist options
  • Save henryjfry/1529e0d2435da061c6e08a9730b0d0bd to your computer and use it in GitHub Desktop.
Save henryjfry/1529e0d2435da061c6e08a9730b0d0bd to your computer and use it in GitHub Desktop.
skin.arctic.horizon - add clearlogos and make backgrounds more visible
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_Labels.xml: <!--PHIL-->
<variable name="Label_Info_Title">
<!--PHIL-->
<value condition="Control.IsVisible(882)"> </value>
<!--MAKE TITLE BLANK WHEN CLEARLOGO VISIBLE-->
<!--PHIL-->
<value condition="[Container.Content() | Container.Content(playlists)] + String.IsEmpty(ListItem.DBType)">$INFO[System.Time]</value>
<value condition="[String.IsEqual(ListItem.DBType,season) | String.IsEqual(ListItem.DBType,episode)] + !String.IsEmpty(ListItem.TvShowTitle)">$INFO[ListItem.TvShowTitle]</value>
<value condition="String.IsEqual(ListItem.DBType,album) | String.IsEqual(ListItem.DBType,song)">$INFO[ListItem.Album]</value>
<value condition="!String.IsEmpty(ListItem.Title)">$INFO[ListItem.Title]</value>
<value condition="!String.IsEmpty(ListItem.Label)">$INFO[ListItem.Label]</value>
<value>$INFO[System.Time]</value>
</variable>
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_View_52_Posters.xml: <!--PHIL-->
<include content="Home_Hub_Widget_Label">
<param name="id" value="52" />
<param name="label" value="$VAR[Label_Header_Center]" />
<param name="altlabel" value="$INFO[Control.GetLabel(3),, ]$INFO[Control.GetLabel(4)]" />
</include>
</control>
<!--PHIL-->
<!--clearlogo top left-->
<control type="image" id="882">
<left>-10</left>
<top>-80</top>
<width>560</width>
<height>140</height>
<fadetime>600</fadetime>
<aspectratio align="left" aligny="center">keep</aspectratio>
<texture background="true">$INFO[ListItem.Art(clearlogo)]</texture>
<visible>!String.IsEmpty(Control.GetLabel(882))</visible>
<visible>!Window.IsActive(notification) + !Window.IsActive(extendedprogressdialog) + !Control.IsVisible(88888)</visible>
</control>
<!--PHIL-->
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_Global.xml: <!--PHIL-->
<!--PHIL-->
<include name="Global_Background_Main">
<include content="Global_Background_Artwork">
<control type="group">
<visible>!$EXP[Exp_GlobalBackground]</visible>
<visible>String.IsEmpty(Window(Home).Property(HasTrailer))</visible>
<include condition="Skin.HasSetting(global.showvideo)">Global_Videowindow</include>
<include condition="!Skin.HasSetting(global.showvideo)">Global_Videowindow_Hidden</include>
<include content="Global_VideoWindow_Fade" condition="Skin.HasSetting(global.showvideo) + !Skin.HasSetting(DisableBlur)">
<param name="fade" value="0" />
</include>
<include content="Global_VideoWindow_Fade" condition="Skin.HasSetting(global.showvideo) + [Skin.HasSetting(DisableBlur)]">
<param name="fade" value="0" />
</include>
</control>
</include>
</include>
<!--PHIL-->
<!--PHIL-->
<include name="Global_Background_Overlay">
<control type="image">
<texture colordiffuse="" background="true"></texture>
</control>
<control type="image">
<texture background="true"></texture>
</control>
</include>
<!--PHIL-->
<!--PHIL-->
<include name="Global_Background_Artwork">
<control type="group">
<control type="image">
<texture colordiffuse="Background"></texture>
</control>
<control type="multiimage">
<include>Animation_FadeInOut</include>
<include>Defs_TimePerImage</include>
<randomize>true</randomize>
<width>1920</width>
<height>1080</height>
<aspectratio>scale</aspectratio>
<include condition="!Skin.HasSetting(DisableBlur)">Defs_Global_Fade_Blur</include>
<fadetime>600</fadetime>
<imagepath background="true">$VAR[Global_Background_Image]</imagepath>
<animation effect="fade" end="50" condition="!Skin.HasSetting(DisableBlur)">Conditional</animation>
<animation effect="fade" end="40" condition="Skin.HasSetting(DisableBlur)">Conditional</animation>
<visible>$EXP[Exp_GlobalBackground]</visible>
<animation effect="fade" start="100" end="0" time="2000" tween="cubic" easing="inout" condition="Window.IsVisible(DialogBusy.xml) + Skin.HasSetting(DisableBlur) + !Skin.HasSetting(DisableBusyBackground)">Conditional</animation>
</control>
<include condition="!Skin.HasSetting(DisableBusyBackground)">Global_Background_BusyLoader</include>
<nested />
<include condition="Skin.HasSetting(DisableBlur)">Global_Background_Overlay</include>
</control>
</include>
<!--PHIL-->
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_View_53_Seasons.xml: <!--PHIL-->
.
<left>-20</left>
<bottom>400</bottom>
<animation effect="fade" start="0" end="100" time="400" tween="cubic" easing="inout" reversible="false" delay="200" condition="Container.Content(seasons)">Conditional</animation>
<visible>$EXP[Exp_View_53]</visible>
<visible>!String.IsEqual(Container.Property(Param.Info),details)</visible>
</include>
<!--PHIL-->
<!--clearlogo top left-->
<control type="image" id="882">
<left>-10</left>
<top>-80</top>
<width>560</width>
<height>140</height>
<fadetime>600</fadetime>
<aspectratio align="left" aligny="center">keep</aspectratio>
<texture background="true">$INFO[ListItem.Art(tvshow.clearlogo)]</texture>
<visible>Control.Isvisible(53)</visible>
</control>
<!--PHIL-->
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_View_54_Episodes.xml: <!--PHIL-->
<include content="Home_Hub_Widget_Label">
<param name="id" value="54" />
<param name="label" value="$VAR[Label_Header_Center]" />
<param name="altlabel" value="$INFO[Control.GetLabel(3),, ]$INFO[Control.GetLabel(4)]" />
</include>
</control>
<!--PHIL-->
<!--clearlogo top left-->
<control type="image" id="882">
<left>-10</left>
<top>-80</top>
<width>560</width>
<height>140</height>
<fadetime>600</fadetime>
<aspectratio align="left" aligny="center">keep</aspectratio>
<texture background="true">$INFO[ListItem.Art(tvshow.clearlogo)]</texture>
<visible>Container.Content(episodes)</visible>
</control>
<!--PHIL-->
</include>
<include name="View_54_Episodes_Wall">
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_Viewtype.xml: <!--PHIL-->
<!--PHIL-->
<include content="Viewtype_Panel">
<param name="width" value="dialog_filter_width" />
<param name="colordiffuse" value="" />
</include>
<!--PHIL-->
<!--PHIL-->
<include name="Viewtype_Panel">
<param name="colordiffuse" default="" />
<param name="background" default="true" />
<definition>
<control type="group">
<width>$PARAM[width]</width>
<control type="image">
<aspectratio align="left">scale</aspectratio>
<texture colordiffuse=""></texture>
</control>
<nested />
</control>
</definition>
</include>
<!--PHIL-->
###/home/osmc/.kodi/addons/skin.arctic.horizon/1080i/Includes_View_Info.xml: <!--PHIL-->
<include content="Object_Info_Title">
<param name="label" value="$PARAM[title]" />
<!--PHIL-->
<!--CAN HIDE ITEM LIKE <visible>!Control.IsVisible(882)</visible> -->
<!--PHIL-->
</include>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment