Skip to content

Commit

Permalink
Add MyFavourites browser
Browse files Browse the repository at this point in the history
  • Loading branch information
inb4after committed Dec 15, 2024
1 parent 1dc2bc7 commit 5db55f6
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 3 deletions.
13 changes: 12 additions & 1 deletion 1080i/Custom_Overlay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@
<visible>Window.IsVisible(LoginScreen.xml)</visible>
</control>

<control type="label">
<width>780</width>
<height>21</height>
<textcolor>FF0000FF</textcolor>

<font>font13</font>
<align>left</align>
<label>MyFavourites.xml</label>
<visible>Window.IsVisible(MyFavourites.xml)</visible>
</control>

<control type="label">
<width>780</width>
<height>21</height>
Expand Down Expand Up @@ -933,4 +944,4 @@
</control>

</controls>
</window>
</window>
1 change: 1 addition & 0 deletions 1080i/Includes_Labels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,7 @@
<value condition="Window.IsVisible(MyMusicNav.xml)">$LOCALIZE[2]</value>
<value condition="Window.IsVisible(MyPics.xml)">$LOCALIZE[1]</value>
<value condition="Window.IsVisible(MyPrograms.xml)">$LOCALIZE[0]</value>
<value condition="Window.IsVisible(MyFavourites.xml)">$LOCALIZE[1036]</value>
<value condition="Window.IsVisible(AddonBrowser.xml)">$LOCALIZE[24001]</value>
<value condition="Window.IsVisible(Home.xml) + !String.IsEmpty(Skin.String(Home.Header))">$INFO[Skin.String(Home.Header)]</value>
<value condition="Window.IsVisible(Home.xml) + String.IsEmpty(Skin.String(Home.Header))">$LOCALIZE[10000]</value>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/Includes_Topbar-Netflix.xml
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@
<ondown condition="Window.IsVisible(3810)">323233</ondown>
<include>Topbar_Menu_Layout</include>
<include condition="Window.IsVisible(Home) + !Window.IsVisible(script-globalsearch-main.xml)">Items_MainMenu</include>
<include condition="[Window.IsVisible(MyPVRChannels.xml) | Window.IsVisible(MyPVRGuide.xml) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml) | Window.IsVisible(AddonBrowser.xml) | Window.IsVisible(MyPrograms.xml) | Window.IsVisible(MyPics.xml) | Window.IsVisible(MyMusicNav.xml) | Window.IsVisible(MyVideoNav.xml)] + !Window.IsVisible(script-globalsearch-main.xml) | Window.IsVisible(3810)">Items_View</include>
<include condition="[Window.IsVisible(MyPVRChannels.xml) | Window.IsVisible(MyPVRGuide.xml) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml) | Window.IsVisible(AddonBrowser.xml) | Window.IsVisible(MyFavourites.xml) | Window.IsVisible(MyPrograms.xml) | Window.IsVisible(MyPics.xml) | Window.IsVisible(MyMusicNav.xml) | Window.IsVisible(MyVideoNav.xml)] + !Window.IsVisible(script-globalsearch-main.xml) | Window.IsVisible(3810)">Items_View</include>
<include condition="Window.IsVisible(MyPlaylist.xml) + !Window.IsVisible(script-globalsearch-main.xml)">Items_Playlist</include>
<include condition="[Window.IsVisible(SettingsSystemInfo.xml) | Window.IsVisible(Settings.xml) | Window.IsVisible(SettingsCategory.xml) | Window.IsVisible(SkinSettings.xml) | Window.IsVisible(SettingsProfile.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_Settings</include>
<include condition="[Window.IsVisible(script-NextAired-TVGuide.xml) | Window.IsVisible(script-NextAired-TVGuide2.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_NextAired</include>
Expand Down
2 changes: 1 addition & 1 deletion 1080i/Includes_Topbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@
<control type="list" id="300">
<include>Topbar_Menu_Layout</include>
<include condition="Window.IsVisible(Home) + !Window.IsVisible(script-globalsearch-main.xml)">Items_MainMenu</include>
<include condition="[Window.IsVisible(MyPVRChannels.xml) | Window.IsVisible(MyPVRGuide.xml) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml) | Window.IsVisible(AddonBrowser.xml) | Window.IsVisible(MyPrograms.xml) | Window.IsVisible(MyPics.xml) | Window.IsVisible(MyMusicNav.xml) | Window.IsVisible(MyVideoNav.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_View</include>
<include condition="[Window.IsVisible(MyPVRChannels.xml) | Window.IsVisible(MyPVRGuide.xml) | Window.IsVisible(MyPVRRecordings.xml) | Window.IsVisible(MyPVRTimers.xml) | Window.IsVisible(MyPVRSearch.xml) | Window.IsVisible(AddonBrowser.xml) | Window.IsVisible(MyFavourites.xml) | Window.IsVisible(MyPrograms.xml) | Window.IsVisible(MyPics.xml) | Window.IsVisible(MyMusicNav.xml) | Window.IsVisible(MyVideoNav.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_View</include>
<include condition="Window.IsVisible(MyPlaylist.xml) + !Window.IsVisible(script-globalsearch-main.xml)">Items_Playlist</include>
<include condition="[Window.IsVisible(SettingsSystemInfo.xml) | Window.IsVisible(Settings.xml) | Window.IsVisible(SettingsCategory.xml) | Window.IsVisible(SkinSettings.xml) | Window.IsVisible(SettingsProfile.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_Settings</include>
<include condition="[Window.IsVisible(script-NextAired-TVGuide.xml) | Window.IsVisible(script-NextAired-TVGuide2.xml)] + !Window.IsVisible(script-globalsearch-main.xml)">Items_NextAired</include>
Expand Down
50 changes: 50 additions & 0 deletions 1080i/MyFavourites.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Foundation -->
<window id="6">
<defaultcontrol always="true">50</defaultcontrol>
<menucontrol>300</menucontrol>

<include>View_ViewIDs</include>
<!-- <onload condition="System.HasAddon(script.tv.show.next.aired)">RunScript(script.tv.show.next.aired,backend=True)</onload> -->
<onunload>ClearProperty(TMDBHelper.WidgetContainer)</onunload>

<controls>

<!-- Standard Furniture -->
<include condition="Skin.HasSetting(SkinHelper.EnableExtraFanart)">fanart_multi</include>
<include condition="Skin.HasSetting(SkinHelper.EnableExtraFanart)">fanart_multi_container</include>
<include condition="Skin.HasSetting(DisableNetflixView)">Global_Background</include>
<include>Object_PlotOverlay</include>
<include>View_Library</include>
<include>Topbar</include>

<!-- Hidden Buttons -->
<include>Defs_Options_StandardButtons</include>
<control type="button" id="8">
<label>137</label>
<include>Defs_Hidden_Button</include>
</control>
<control type="togglebutton" id="14">
<label>$LOCALIZE[20367]: $LOCALIZE[16039]</label>
<altlabel>$LOCALIZE[20367]: $LOCALIZE[16041]</altlabel>
<usealttexture>System.Setting(hidewatched)</usealttexture>
<description>Watched Unwatched</description>
<include>Defs_Hidden_Button</include>
</control>
<control type="radiobutton" id="19">
<description>Filter</description>
<include>Defs_Hidden_Button</include>
</control>
<control type="button" id="20">
<description>Library</description>
<label>653</label>
<include>Defs_Hidden_Button</include>
</control>
<control type="button" id="6005">
<description>Extra fanart</description>
<label>$VAR[Label_ExtraFanart]</label>
<onclick>Skin.ToggleSetting(SkinHelper.EnableExtraFanart)</onclick>
<include>Defs_Hidden_Button</include>
</control>
</controls>
</window>

0 comments on commit 5db55f6

Please sign in to comment.