Skip to content

Commit

Permalink
spotlight wip
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic committed May 3, 2024
1 parent 225b4ef commit f2ccd90
Show file tree
Hide file tree
Showing 13 changed files with 487 additions and 165 deletions.
4 changes: 2 additions & 2 deletions 16x9/Animations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@
<animation effect="fade" start="100" end="0" time="180" tween="sine" easing="inout" reversible="true" condition="!$EXP[Window.Next(all_settings_windows)]">WindowClose</animation>
</include>
<include name="Trailer_Autoplay_Fade_Animation">
<animation effect="fade" start="100" end="0" time="360" delay="1080" tween="sine" easing="inout" reversible="false" condition="$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
<animation effect="fade" start="0" end="100" time="360" delay="900" tween="sine" easing="inout" reversible="false" condition="!$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
<animation effect="fade" start="100" end="0" time="360" tween="sine" easing="inout" reversible="false" condition="$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
<animation effect="fade" start="0" end="100" time="360" delay="1080" tween="sine" easing="inout" reversible="false" condition="!$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
</include>
<include name="Trailer_Autoplay_Fade_Delayed_Animation">
<animation effect="fade" start="100" end="0" time="360" delay="1440" tween="sine" easing="inout" reversible="false" condition="$EXP[Trailer_Autoplay_IsVisible]">Conditional</animation>
Expand Down
39 changes: 39 additions & 0 deletions 16x9/Colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@
<value condition="Control.HasFocus(129210) | Control.HasFocus(129211)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>

<variable name="skinsettings_Widget1_Display_Button_Textcolor">
<value condition="Control.HasFocus(121300) | Control.HasFocus(121301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
Expand Down Expand Up @@ -500,6 +501,44 @@
<value condition="Control.HasFocus(129300) | Control.HasFocus(129301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>

<variable name="skinsettings_Widget1_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(121300) | Control.HasFocus(121301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget2_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(122300) | Control.HasFocus(122301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget3_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(123300) | Control.HasFocus(123301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget4_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(124300) | Control.HasFocus(124301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget5_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(125300) | Control.HasFocus(125301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget6_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(126300) | Control.HasFocus(126301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget7_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(127300) | Control.HasFocus(127301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget8_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(128300) | Control.HasFocus(128301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>
<variable name="skinsettings_Widget9_Display_Grid_Button_Textcolor">
<value condition="Control.HasFocus(129300) | Control.HasFocus(129301)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
</variable>

<variable name="skinsettings_Music_Rating_Like_Threshold_Button_Textcolor">
<value condition="Control.HasFocus(14050) | Control.HasFocus(14051)">$VAR[Light_Color]</value>
<value>$VAR[Unfocused_Color]</value>
Expand Down
15 changes: 14 additions & 1 deletion 16x9/Components_Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,20 @@
<!-- Display -->
<include content="skinsettings_Slider_Button">
<param name="info" value="Widget$PARAM[widget_position]_Display" />
<param name="visible" value="ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + ![Skin.String(Widget$PARAM[widget_position]_View,Billboard) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LatestAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RecentAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RandomAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LikedSongs)]" />
<param name="visible" value="ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + ![Skin.String(Widget$PARAM[widget_position]_View,Billboard) | Skin.String(Widget$PARAM[widget_position]_View,Grid) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LatestAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RecentAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RandomAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LikedSongs)]" />
<param name="label" value=" - $LOCALIZE[131]" />
<param name="label2" value="$VAR[Widget$PARAM[widget_position]_Display]" />
<param name="category" value="12" />
<param name="previous" value="12$PARAM[widget_position]21" />
<param name="id" value="12$PARAM[widget_position]30" />
<param name="next" value="12$PARAM[next_widget_position]11" />
<param name="next_condition" value="!Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)" />
<param name="alt_next" value="12$PARAM[widget_position]40" />
<param name="alt_next_condition" value="Skin.HasSetting(Widget$PARAM[widget_position]_Content_Custom)" />
</include>
<include content="skinsettings_Slider_Button">
<param name="info" value="Widget$PARAM[widget_position]_Display_Grid" />
<param name="visible" value="ControlGroup(9).HasFocus(12) + Control.IsVisible(12$PARAM[widget_position]20) + Skin.String(Widget$PARAM[widget_position]_View,Grid) + ![Skin.HasSetting(Widget$PARAM[widget_position]_Content_Disabled) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LatestAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RecentAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_RandomAlbums) | Skin.HasSetting(Widget$PARAM[widget_position]_Content_LikedSongs)]" />
<param name="label" value=" - $LOCALIZE[131]" />
<param name="label2" value="$VAR[Widget$PARAM[widget_position]_Display]" />
<param name="category" value="12" />
Expand Down
64 changes: 61 additions & 3 deletions 16x9/Components_Viewtype_505_Grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<include content="Icon_Component_Multiart_Static" condition="Skin.HasSetting(Multiart_Slideshow) + [Window.Is(videos) | Window.Is(music)]">
<param name="fadetime" value="360" />
<param name="now_playing" value="$EXP[ListItem(0)_NowPlaying]" />
</include>-->
</include>
<!-- Progress overlay -->
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
<param name="visible" value="[$EXP[GridView_Details_Off] | $EXP[GridView_Details_Breadcrumb]] + $EXP[Progress_IsVisible]" />
Expand Down Expand Up @@ -405,12 +405,12 @@
<param name="width" value="$PARAM[width]" />
<param name="height" value="$PARAM[height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="false" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
<param name="fallback" value="$PARAM[fallback]" />
<!-- Multiart -->
<include content="Icon_Component_Multiart_Static" condition="Skin.HasSetting(Multiart_Slideshow) + !Window.Is(movieinformation) + !Window.Is(musicinformation) + !Window.Is(songinformation)">
<param name="art_diffuse" value="false" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
</include>
<!-- Progress overlay -->
Expand Down Expand Up @@ -438,6 +438,7 @@
<param name="height" value="$PARAM[height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="false" />
<param name="art_diffuse_fadein" value="$PARAM[art_diffuse_fadein]" />
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="$PARAM[animationtype]" />
Expand Down Expand Up @@ -471,6 +472,9 @@
<param name="height" value="$PARAM[height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="art_diffuse_fadein" value="$PARAM[art_diffuse_fadein]" />
<param name="art_diffuse_fadeout_1" value="$PARAM[art_diffuse_fadeout_1]" />
<param name="art_diffuse_fadeout_2" value="$PARAM[art_diffuse_fadeout_2]" />
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="$PARAM[animationtype]" />
Expand All @@ -481,6 +485,9 @@
<include content="Icon_Component_Multiart_Animated" condition="Skin.HasSetting(Multiart_Slideshow) + !Window.Is(movieinformation) + !Window.Is(musicinformation) + !Window.Is(songinformation)">
<param name="visible" value="$PARAM[multiart] + String.IsEqual(Window(home).Property(Multiart_Fadeout),true)" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="art_diffuse_fadein" value="$PARAM[art_diffuse_fadein]" />
<param name="art_diffuse_fadeout_1" value="$PARAM[art_diffuse_fadeout_1]" />
<param name="art_diffuse_fadeout_2" value="$PARAM[art_diffuse_fadeout_2]" />
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
<param name="animationtype" value="$PARAM[multiartanimationtype]" />
<param name="animationeffect" value="$PARAM[multiartanimationeffect]" />
Expand Down Expand Up @@ -510,6 +517,7 @@
<param name="5x_item_width" />
<param name="6x_item_width" />
<param name="art_icon" />
<param name="art_diffuse" />
<param name="fallback" />
<param name="focus_border_visible" />
<param name="focus_border_edge" />
Expand Down Expand Up @@ -548,6 +556,8 @@
<param name="top" value="$PARAM[item_top]" />
<param name="height" value="$PARAM[item_height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse_fadeout_1" value="Container($PARAM[target_id]).OnPrevious + $PARAM[art_diffuse]" />
<param name="art_diffuse_fadeout_2" value="!Container($PARAM[target_id]).OnPrevious + $PARAM[art_diffuse]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="Hidden" />
<param name="animationcondition" value="true" />
Expand Down Expand Up @@ -673,6 +683,7 @@
<param name="top" value="$PARAM[item_top]" />
<param name="height" value="$PARAM[item_height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse_fadein" value="$PARAM[art_diffuse] + !Container($PARAM[target_id]).OnPrevious" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="Hidden" />
<param name="animationcondition" value="true" />
Expand Down Expand Up @@ -712,6 +723,8 @@
<param name="top" value="$PARAM[item_top]" />
<param name="height" value="$PARAM[item_height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse_fadeout_1" value="Container($PARAM[target_id]).OnNext + $PARAM[art_diffuse]" />
<param name="art_diffuse_fadeout_2" value="!Container($PARAM[target_id]).OnNext + $PARAM[art_diffuse]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="Hidden" />
<param name="animationcondition" value="true" />
Expand Down Expand Up @@ -836,6 +849,7 @@
<param name="top" value="$PARAM[item_top]" />
<param name="height" value="$PARAM[item_height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse_fadein" value="$PARAM[art_diffuse] + !Container($PARAM[target_id]).OnNext" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="animationtype" value="Hidden" />
<param name="animationcondition" value="true" />
Expand Down Expand Up @@ -865,6 +879,7 @@
<param name="4x_item_width" />
<param name="5x_item_width" />
<param name="art_icon" />
<param name="art_diffuse" />
<param name="fallback" />
<param name="focus_border_visible" />
<param name="focus_border_protrusion" />
Expand Down Expand Up @@ -964,6 +979,7 @@
<param name="width" value="$PARAM[item_width]" />
<param name="height" value="$PARAM[item_height]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="border_visible" value="$PARAM[focus_border_visible]" />
<param name="border_protrusion" value="$PARAM[focus_border_protrusion]" />
Expand All @@ -981,6 +997,7 @@
<param name="displaytype_label" />
<param name="displaytype_isfanart" />
<param name="art_icon" />
<param name="art_diffuse" default="false" />
<param name="fallback" />
<param name="top" />
<param name="item_top" />
Expand Down Expand Up @@ -1014,6 +1031,7 @@
<param name="5x_item_width" value="$PARAM[5x_item_width]" />
<param name="6x_item_width" value="$PARAM[6x_item_width]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
<param name="focus_border_protrusion" value="10" />
Expand All @@ -1034,6 +1052,7 @@
<param name="4x_item_width" value="$PARAM[4x_item_width]" />
<param name="5x_item_width" value="$PARAM[5x_item_width]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="$PARAM[art_diffuse]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
<param name="focus_border_protrusion" value="10" />
Expand Down Expand Up @@ -1092,6 +1111,32 @@
</definition>
</include>

<include name="GridView_Art_Spotlight">
<param name="target_id" />
<param name="art_icon" />
<definition>
<include content="GridView_Art">
<param name="target_id" value="$PARAM[target_id]" />
<param name="displaytype_label" value="Spotlight" />
<param name="displaytype_isfanart" value="false" />
<param name="top" value="803" />
<param name="item_height" value="252" />
<param name="item_width_minus_dropshadow_width" value="328" />
<param name="item_width" value="448" />
<param name="item_width_plus_dropshadow_width" value="568" />
<param name="2x_item_width" value="896" />
<param name="3x_item_width" value="1344" />
<param name="4x_item_width" value="1792" />
<param name="5x_item_width" value="2240" />
<param name="6x_item_width" value="2688" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="true" />
<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
<nested />
</include>
</definition>
</include>

<include name="GridView_Art_Square">
<param name="target_id" />
<param name="art_icon" />
Expand Down Expand Up @@ -1128,6 +1173,19 @@
</definition>
</include>

<include name="Progress_Grid_Spotlight">
<param name="id" />
<definition>
<include content="Progress_Grid">
<param name="id" value="$PARAM[id]" />
<param name="left" value="104" />
<param name="bottom" value="40" />
<param name="progress_indicator_background" value="$VAR[Accent_Color]" />
<param name="slides" value="Default" />
</include>
</definition>
</include>

<include name="Progress_Grid_Posters">
<param name="id" />
<definition>
Expand Down
Loading

0 comments on commit f2ccd90

Please sign in to comment.