Skip to content

Commit

Permalink
favouritesbrowser - Omega only (2.6.7)
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic committed Oct 9, 2024
1 parent ecf8045 commit 302045b
Show file tree
Hide file tree
Showing 24 changed files with 309 additions and 75 deletions.
14 changes: 6 additions & 8 deletions 16x9/Components_Viewtype_502_Showcase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<param name="now_playing" value="$EXP[ListItem($PARAM[position])_NowPlaying]" />
<param name="fallback" value="$PARAM[fallback]" />
<!-- Progress overlay -->
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
<param name="visible" value="!$EXP[ShowcaseView_Details_Overlay_IsVisible] | Window.Is(movieinformation)" />
</include>
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)" />
</include>
</definition>
</include>
Expand Down Expand Up @@ -47,7 +45,7 @@
</include>
<!-- Progress overlay -->
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
<param name="visible" value="[!$EXP[ShowcaseView_Details_Overlay_IsVisible] | Window.Is(movieinformation)] + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
</include>
<!-- Breadcrumb overlay -->
<include content="Icon_Component_Breadcrumb_Overlay" condition="Window.Is(home)">
Expand Down Expand Up @@ -87,7 +85,7 @@
<param name="animationcondition" value="$PARAM[animationcondition]" />
<!-- Progress overlay -->
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
<param name="visible" value="[!$EXP[ShowcaseView_Details_Overlay_IsVisible] | Window.Is(movieinformation)] + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
</include>
<!-- Breadcrumb overlay -->
<include content="Icon_Component_Breadcrumb_Overlay" condition="Window.Is(home)">
Expand Down Expand Up @@ -141,7 +139,7 @@
</include>
<!-- Progress overlay -->
<include content="Icon_Component_Progress_Overlay" condition="Window.Is(home) | Window.Is(videos) | Window.Is(movieinformation)">
<param name="visible" value="[!$EXP[ShowcaseView_Details_Overlay_IsVisible] | Window.Is(movieinformation)] + !String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
<param name="visible" value="!String.IsEmpty(Container($PARAM[target_id]).ListItemNoWrap($PARAM[position]).Label)" />
</include>
<!-- Breadcrumb overlay -->
<include content="Icon_Component_Breadcrumb_Overlay" condition="Window.Is(home)">
Expand Down Expand Up @@ -576,7 +574,7 @@
<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="art_diffuse_fadein" value="$EXP[ShowcaseView_Details_Off] + !$EXP[ShowcaseView_Details_Overlay_IsVisible] + [$EXP[TransparentDialog_IsVisible] | Window.IsVisible(pictureinfo)]" />
<param name="art_diffuse_fadein" value="$EXP[ShowcaseView_Details_Off] + !$EXP[ShowcaseView_Details_Overlay_IsVisible] + [[$EXP[TransparentDialog_IsVisible] + String.IsEmpty(Window(home).Property(OptionsMenuTransition))] | Window.IsVisible(pictureinfo)]" />
<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 Down Expand Up @@ -635,7 +633,7 @@
<param name="2x_item_width" value="$PARAM[2x_item_width]" />
<param name="3x_item_width" value="$PARAM[3x_item_width]" />
<param name="art_icon" value="$PARAM[art_icon]" />
<param name="art_diffuse" value="$EXP[ShowcaseView_Details_Overlay_IsVisible] + !$EXP[Infoscreen_Widget_HasFocus]" />
<param name="art_diffuse" value="[$EXP[ShowcaseView_Details_Overlay_IsVisible] | [$EXP[TransparentDialog_IsVisible] + $EXP[ShowcaseView_Details_Off] + !String.IsEmpty(Window(home).Property(OptionsMenuTransition))]] + !$EXP[Infoscreen_Widget_HasFocus]" />
<param name="fallback" value="$PARAM[fallback]" />
<param name="focus_border_visible" value="$PARAM[focus_border_visible]" />
<param name="focus_border_edge" value="0" />
Expand Down
1 change: 1 addition & 0 deletions 16x9/Components_Viewtypes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
<pagecontrol>60</pagecontrol>
<preloaditems>2</preloaditems>
<orientation>$PARAM[orientation]</orientation>
<nested />
<include content="Default_Scrolltime" condition="!Skin.HasSetting(Quick_Transitions)" />
<include content="Quick_Scrolltime" condition="Skin.HasSetting(Quick_Transitions) + !Skin.HasSetting(Zero_Transitions)" />
<include content="Zero_Scrolltime" condition="Skin.HasSetting(Quick_Transitions) + Skin.HasSetting(Zero_Transitions)" />
Expand Down
64 changes: 46 additions & 18 deletions 16x9/Content_Settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,13 @@
<onclick>Skin.ToggleSetting(BillboardView_Enabled_Addons)</onclick>
<selected>Skin.HasSetting(BillboardView_Enabled_Addons)</selected>
</control>
<control type="radiobutton" id="1304">
<description>Billboard - Favourites</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31734]</label>
<onclick>Skin.ToggleSetting(BillboardView_Enabled_favouritesbrowser)</onclick>
<selected>Skin.HasSetting(BillboardView_Enabled_favouritesbrowser)</selected>
</control>
<control type="radiobutton" id="1305">
<description>Add movement</description>
<label>$LOCALIZE[31441]</label>
Expand All @@ -667,27 +674,34 @@
<onclick>Skin.ToggleSetting(ShowcaseView_Enabled)</onclick>
<selected>Skin.HasSetting(ShowcaseView_Enabled)</selected>
</control>
<control type="radiobutton" id="1315">
<control type="radiobutton" id="1313">
<description>Prefer keyart for poster views</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(ShowcaseView_Enabled)</visible>
<label>- $LOCALIZE[31498]</label>
<onclick>Skin.ToggleSetting(Showcase_Prefer_Keyart)</onclick>
<selected>Skin.HasSetting(Showcase_Prefer_Keyart)</selected>
</control>
<control type="radiobutton" id="1313">
<control type="radiobutton" id="1314">
<description>Showcase - Pictures</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31448]</label>
<onclick>Skin.ToggleSetting(ShowcaseView_Enabled_Pictures)</onclick>
<selected>Skin.HasSetting(ShowcaseView_Enabled_Pictures)</selected>
</control>
<control type="radiobutton" id="1314">
<control type="radiobutton" id="1315">
<description>Showcase - Addons/Programs</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31447]</label>
<onclick>Skin.ToggleSetting(ShowcaseView_Enabled_Addons)</onclick>
<selected>Skin.HasSetting(ShowcaseView_Enabled_Addons)</selected>
</control>
<control type="radiobutton" id="1316">
<description>Showcase - Favourites</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31734]</label>
<onclick>Skin.ToggleSetting(ShowcaseView_Enabled_favouritesbrowser)</onclick>
<selected>Skin.HasSetting(ShowcaseView_Enabled_favouritesbrowser)</selected>
</control>
<control type="label" id="1320">
<description>Strip</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
Expand All @@ -707,34 +721,41 @@
<onclick>Skin.ToggleSetting(StripView_Enabled)</onclick>
<selected>Skin.HasSetting(StripView_Enabled)</selected>
</control>
<control type="radiobutton" id="1325">
<control type="radiobutton" id="1323">
<description>Prefer keyart for poster views</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(StripView_Enabled)</visible>
<label>- $LOCALIZE[31498]</label>
<onclick>Skin.ToggleSetting(Strip_Prefer_Keyart)</onclick>
<selected>Skin.HasSetting(Strip_Prefer_Keyart)</selected>
</control>
<control type="radiobutton" id="1326">
<control type="radiobutton" id="1324">
<description>Prefer landscape art for fanart views</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(StripView_Enabled)</visible>
<label>- $LOCALIZE[31499]</label>
<onclick>Skin.ToggleSetting(Strip_Prefer_Landscape)</onclick>
<selected>Skin.HasSetting(Strip_Prefer_Landscape)</selected>
</control>
<control type="radiobutton" id="1323">
<control type="radiobutton" id="1325">
<description>Strip - Pictures</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31448]</label>
<onclick>Skin.ToggleSetting(StripView_Enabled_Pictures)</onclick>
<selected>Skin.HasSetting(StripView_Enabled_Pictures)</selected>
</control>
<control type="radiobutton" id="1324">
<control type="radiobutton" id="1326">
<description>Strip - Addons/Programs</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31447]</label>
<onclick>Skin.ToggleSetting(StripView_Enabled_Addons)</onclick>
<selected>Skin.HasSetting(StripView_Enabled_Addons)</selected>
</control>
<control type="radiobutton" id="1327">
<description>Strip - Favourites</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31734]</label>
<onclick>Skin.ToggleSetting(StripView_Enabled_favouritesbrowser)</onclick>
<selected>Skin.HasSetting(StripView_Enabled_favouritesbrowser)</selected>
</control>
<control type="label" id="1330">
<description>Grid</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
Expand All @@ -752,65 +773,72 @@
<param name="info" value="GridView_Size" />
<param name="label" value="$LOCALIZE[31715]" />
<param name="label2" value="$VAR[skinsettings_GridView_Size_Label2]" />
<param name="previous" value="1324" />
<param name="id" value="1340" />
<param name="next" value="1332" />
<param name="previous" value="1331" />
<param name="id" value="1332" />
<param name="next" value="1333" />
</include>
<control type="radiobutton" id="1332">
<control type="radiobutton" id="1333">
<description>Grid - Videos/Music</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31446]</label>
<onclick>Skin.ToggleSetting(GridView_Enabled)</onclick>
<selected>Skin.HasSetting(GridView_Enabled)</selected>
</control>
<control type="radiobutton" id="1338">
<control type="radiobutton" id="1334">
<description>Prefer keyart for poster views</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(GridView_Enabled)</visible>
<label>- $LOCALIZE[31498]</label>
<onclick>Skin.ToggleSetting(Grid_Prefer_Keyart)</onclick>
<selected>Skin.HasSetting(Grid_Prefer_Keyart)</selected>
</control>
<control type="radiobutton" id="1339">
<control type="radiobutton" id="1335">
<description>Prefer landscape art for fanart views</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(GridView_Enabled)</visible>
<label>- $LOCALIZE[31499]</label>
<onclick>Skin.ToggleSetting(Grid_Prefer_Landscape)</onclick>
<selected>Skin.HasSetting(Grid_Prefer_Landscape)</selected>
</control>
<control type="image" id="1333">
<control type="image" id="1336">
<description>Grid watched screenshot</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(GridView_Enabled)</visible>
<include content="skinsettings_Detfault_Image" />
<texture>$VAR[skinsettings_Grid_WatchedStatus_Screenshots]</texture>
</control>
<control type="radiobutton" id="1334">
<control type="radiobutton" id="1337">
<description>Dim thumbnails for watched listitems</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(GridView_Enabled)</visible>
<label>- $LOCALIZE[31449]</label>
<onclick>Skin.ToggleSetting(GridView_WatchedStatus_Enabled)</onclick>
<selected>Skin.HasSetting(GridView_WatchedStatus_Enabled)</selected>
</control>
<control type="radiobutton" id="1335">
<control type="radiobutton" id="1338">
<description>Checkmarks instead of completed progress bar for watched items</description>
<visible>ControlGroup(9).HasFocus(13) + Skin.HasSetting(GridView_Enabled)</visible>
<label>- $LOCALIZE[31450]</label>
<onclick>Skin.ToggleSetting(GridView_AltWatchedStatus_Enabled)</onclick>
<selected>Skin.HasSetting(GridView_AltWatchedStatus_Enabled)</selected>
</control>
<control type="radiobutton" id="1336">
<control type="radiobutton" id="1339">
<description>Grid - Pictures</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31448]</label>
<onclick>Skin.ToggleSetting(GridView_Enabled_Pictures)</onclick>
<selected>Skin.HasSetting(GridView_Enabled_Pictures)</selected>
</control>
<control type="radiobutton" id="1337">
<control type="radiobutton" id="1340">
<description>Grid - Addons/Programs</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31447]</label>
<onclick>Skin.ToggleSetting(GridView_Enabled_Addons)</onclick>
<selected>Skin.HasSetting(GridView_Enabled_Addons)</selected>
</control>
<control type="radiobutton" id="1341">
<description>Grid - Favourites</description>
<visible>ControlGroup(9).HasFocus(13)</visible>
<label>$LOCALIZE[31734]</label>
<onclick>Skin.ToggleSetting(GridView_Enabled_favouritesbrowser)</onclick>
<selected>Skin.HasSetting(GridView_Enabled_favouritesbrowser)</selected>
</control>

<!-- Customisations -->
<control type="label" id="1400">
Expand Down
51 changes: 49 additions & 2 deletions 16x9/Content_Viewtype_502_Showcase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,28 @@
<property name="ActionRight">Skin.SetString(ShowcaseView_Display_Programs_Files,Posters)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Display_IsSquare_Programs_Files]</visible>
</item>
<!-- Favourites -->
<item id="2">
<description>Display (Favourites) / Posters</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31006] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31006]</label2>
<onclick>SetFocus(502)</onclick>
<property name="ActionLeft">Skin.SetString(ShowcaseView_Display_Favourites,Square)</property>
<property name="ActionRight">Skin.SetString(ShowcaseView_Display_Favourites,Square)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Display_IsPosters_Favourites]</visible>
</item>
<item id="2">
<description>Display (Favourites) / Square</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31008] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31008]</label2>
<onclick>SetFocus(502)</onclick>
<property name="ActionLeft">Skin.SetString(ShowcaseView_Display_Favourites,Posters)</property>
<property name="ActionRight">Skin.SetString(ShowcaseView_Display_Favourites,Posters)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Display_IsSquare_Favourites]</visible>
</item>
<!-- Details -->
<!-- Movies -->
<item id="2">
<item id="3">
<description>Details (Movies) / Off</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[591] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[591]</label2>
Expand All @@ -138,7 +157,7 @@
<property name="ActionRight">Skin.SetString(ShowcaseView_Details_Movies,Title_Overlay)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Details_Off_Movies]</visible>
</item>
<item id="3">
<item>
<description>Details (Movies) / Title (Overlay)</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31017] ($LOCALIZE[31029]) $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31017] ($LOCALIZE[31029])</label2>
Expand Down Expand Up @@ -796,6 +815,34 @@
<property name="ActionRight">Skin.SetString(ShowcaseView_Details_Programs_Files,Off)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Details_All_Programs_Files]</visible>
</item>
<!-- Favourites -->
<item id="3">
<description>Details (Favourites) / Off</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[591] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[591]</label2>
<onclick>SetFocus(502)</onclick>
<property name="ActionLeft">Skin.SetString(ShowcaseView_Details_Favourites,Title_Side)</property>
<property name="ActionRight">Skin.SetString(ShowcaseView_Details_Favourites,Title_Overlay)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Details_Off_Favourites]</visible>
</item>
<item id="4">
<description>Details (Favourites) / Title (Overlay)</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31017] ($LOCALIZE[31029]) $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31017] ($LOCALIZE[31029])</label2>
<onclick>SetFocus(502)</onclick>
<property name="ActionLeft">Skin.SetString(ShowcaseView_Details_Favourites,Off)</property>
<property name="ActionRight">Skin.SetString(ShowcaseView_Details_Favourites,Title_Side)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Details_Title_Overlay_Favourites]</visible>
</item>
<item id="2">
<description>Details (Favourites) / Title (Side)</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31017] ($LOCALIZE[31028]) $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31017] ($LOCALIZE[31028])</label2>
<onclick>SetFocus(502)</onclick>
<property name="ActionLeft">Skin.SetString(ShowcaseView_Details_Favourites,Title_Overlay)</property>
<property name="ActionRight">Skin.SetString(ShowcaseView_Details_Favourites,Off)</property>
<visible>$PARAM[visible] + $EXP[ShowcaseView_Details_Title_Favourites]</visible>
</item>
<!-- Clearlogos -->
<!-- Movies -->
<!-- Off -->
Expand Down
Loading

0 comments on commit 302045b

Please sign in to comment.