Skip to content

Commit

Permalink
favouritesbrowser wip
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic committed Oct 8, 2024
1 parent ecf8045 commit f7c28c9
Show file tree
Hide file tree
Showing 17 changed files with 290 additions and 64 deletions.
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
47 changes: 47 additions & 0 deletions 16x9/Content_Viewtype_502_Showcase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,25 @@
<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">
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
53 changes: 51 additions & 2 deletions 16x9/Content_Viewtype_504_Strip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
<item id="2">
<description>Display (Programs_Folders) / Square</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31008] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31007]</label2>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31008]</label2>
<onclick>SetFocus(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Display_Programs_Folders,Posters)</property>
<property name="ActionRight">Skin.SetString(StripView_Display_Programs_Folders,Posters)</property>
Expand Down Expand Up @@ -149,12 +149,40 @@
<item id="2">
<description>Display (Programs_Files) / Square</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31008] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31007]</label2>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31008]</label2>
<onclick>SetFocus(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Display_Programs_Files,Fanart)</property>
<property name="ActionRight">Skin.SetString(StripView_Display_Programs_Files,Posters)</property>
<visible>$PARAM[visible] + $EXP[StripView_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(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Display_Favourites,Square)</property>
<property name="ActionRight">Skin.SetString(StripView_Display_Favourites,Fanart)</property>
<visible>$PARAM[visible] + $EXP[StripView_Display_IsPosters_Favourites]</visible>
</item>
<item id="2">
<description>Display (Favourites) / Fanart</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31007] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[131] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31007]</label2>
<onclick>SetFocus(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Display_Favourites,Posters)</property>
<property name="ActionRight">Skin.SetString(StripView_Display_Favourites,Square)</property>
<visible>$PARAM[visible] + $EXP[StripView_Display_IsFanart_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(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Display_Favourites,Fanart)</property>
<property name="ActionRight">Skin.SetString(StripView_Display_Favourites,Posters)</property>
<visible>$PARAM[visible] + $EXP[StripView_Display_IsSquare_Favourites]</visible>
</item>
<!-- Details-->
<!-- Movies -->
<!-- Off -->
Expand Down Expand Up @@ -1161,6 +1189,27 @@
<property name="ActionRight">Skin.SetString(StripView_Details_Programs_Files,Off)</property>
<visible>$PARAM[visible] + $EXP[StripView_Details_All_Programs_Files] + $EXP[StripView_Logo_On_Programs_Files] + ![$EXP[StripView_Display_IsPosters_Programs_Files] + String.IsEqual(Container(504).CurrentItem,1)]</visible>
</item>
<!-- Favourites -->
<!-- Off -->
<item>
<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(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Details_Favourites,Title)</property>
<property name="ActionRight">Skin.SetString(StripView_Details_Favourites,Title)</property>
<visible>$PARAM[visible] + $EXP[StripView_Details_Off_Favourites]</visible>
</item>
<!-- Title -->
<item>
<description>Details (Favourites) / Title</description>
<label>$VAR[Copacetic_Chevron_Left] $LOCALIZE[31017] $VAR[Copacetic_Chevron_Right]</label>
<label2>$LOCALIZE[31016] $VAR[Copacetic_Divider_Bold] $LOCALIZE[31017]</label2>
<onclick>SetFocus(504)</onclick>
<property name="ActionLeft">Skin.SetString(StripView_Details_Favourites,Off)</property>
<property name="ActionRight">Skin.SetString(StripView_Details_Favourites,Off)</property>
<visible>$PARAM[visible] + $EXP[StripView_Details_Title_Favourites]</visible>
</item>
<!-- Clearlogo -->
<!-- Movies -->
<!-- Off -->
Expand Down
Loading

0 comments on commit f7c28c9

Please sign in to comment.