Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic committed May 22, 2024
1 parent 9f2906b commit 04ae26c
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 40 deletions.
34 changes: 14 additions & 20 deletions 16x9/Buttons_Infoscreen_Path_Tracer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,48 +60,42 @@
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1)">ClearProperty(ContainerPath_1,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1)">ClearProperty(ContainerType_1,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1)">ClearProperty(Breadcrumb_Level,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1) + String.IsEmpty(Window(home).Property(Origin))">Dialog.Close(all,true)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1) + !Window.IsVisible(home) + !String.IsEmpty(Window(home).Property(Origin))">ActivateWindow(home)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1)">Dialog.Close(all,true)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1) + !String.IsEmpty(Window(home).Property(Origin))">ActivateWindow(home)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),1) + !String.IsEmpty(Window(home).Property(Origin))">SetFocus(6001)</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),2) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_1)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),2)">ClearProperty(ContainerPath_2,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),2)">SetProperty(Breadcrumb_Level,1,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),3) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_2)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),4) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_3)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),5) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_4)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),6) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_5)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),7) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_6)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),8) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_7)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),9) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_8)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),10) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_9)],replace)</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),3)">ClearProperty(ContainerPath_3,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),3)">SetProperty(Breadcrumb_Level,2,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),4) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_3)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),4)">SetProperty(Breadcrumb_Level,3,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),4)">ClearProperty(ContainerPath_4,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),5) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_4)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),5)">ClearProperty(ContainerPath_5,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),5)">SetProperty(Breadcrumb_Level,4,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),6) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_5)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),6)">ClearProperty(ContainerPath_6,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),6)">SetProperty(Breadcrumb_Level,5,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),7) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_6)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),7)">ClearProperty(ContainerPath_7,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),7)">SetProperty(Breadcrumb_Level,6,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),8) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_7)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),8)">ClearProperty(ContainerPath_8,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),8)">SetProperty(Breadcrumb_Level,7,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),9) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_8)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),9)">ClearProperty(ContainerPath_9,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),9)">SetProperty(Breadcrumb_Level,8,$PARAM[window])</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),10) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">Container.Update($INFO[Window($PARAM[window]).Property(ContainerPath_9)],replace)</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),10)">ClearProperty(ContainerPath_10,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),10)">SetProperty(Breadcrumb_Level,9,$PARAM[window])</onfocus>

<onfocus condition="!String.IsEqual(Window.Property(Breadcrumb_Level),1)">Dialog.Close(all,true)</onfocus>
<onfocus condition="!String.IsEqual(Window.Property(Breadcrumb_Level),1) + !$EXP[Infoscreen_Widget_Prefer_TMDbHelper] + Integer.IsGreater(ListItem.DBID,0)">SetFocus(6001)</onfocus>

<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),2)">SetProperty(Breadcrumb_Level,1,$PARAM[window])</onfocus>
<onfocus condition="String.IsEqual(Window.Property(Breadcrumb_Level),2)">ClearProperty(ContainerPath_2,$PARAM[window])</onfocus>

</control>
</definition>
Expand Down
6 changes: 4 additions & 2 deletions 16x9/Custom_1198_Path_Tracing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,15 @@
<label>ContainerPath_1: [COLOR white][B]$INFO[Window(movieinformation).Property(ContainerPath_1)][/B][/COLOR]</label>
<font>Unwatched_Indicator</font>
<height>30</height>
<autoscroll>true</autoscroll>
<scroll>true</scroll>
<scrollspeed>200</scrollspeed>
</control>
<control type="label">
<label>ContainerPath_2: [COLOR white][B]$INFO[Window(movieinformation).Property(ContainerPath_2)][/B][/COLOR]</label>
<font>Unwatched_Indicator</font>
<height>30</height>
<autoscroll>true</autoscroll>
<scroll>true</scroll>
<scrollspeed>200</scrollspeed>
</control>
<control type="label">
<label>ContainerPath_3: [COLOR white][B]$INFO[Window(movieinformation).Property(ContainerPath_3)][/B][/COLOR]</label>
Expand Down
4 changes: 2 additions & 2 deletions 16x9/Custom_1199_Test_Label.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1199">
<visible>true</visible>
<visible>false</visible>
<zorder>3</zorder>
<controls>
<control type="image">
<width>200</width>
<height>200</height>
<right>0</right>
<texture colordiffuse="pink">views/white_100.png</texture>
<visible>Player.HasVideo</visible>
<visible>Window.IsVisible(home)</visible>
</control>
<control type="label">
<align>right</align>
Expand Down
20 changes: 13 additions & 7 deletions 16x9/Navigation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
<onright condition="!$EXP[Music_Player_IsVisible] + !$EXP[Trailer_Autoplay_IsVisible] + Integer.IsGreater(Container.NumItems,22)">SetFocus(4013)</onright>
<onright condition="!$EXP[Music_Player_IsVisible] + !$EXP[Trailer_Autoplay_IsVisible] + Integer.IsLessOrEqual(Container.NumItems,22) + !$EXP[Hidden_Options_Menu_Disabled]">SetFocus(3000,0,absolute)</onright>
<onright condition="!$EXP[Music_Player_IsVisible] + !$EXP[Trailer_Autoplay_IsVisible] + Integer.IsLessOrEqual(Container.NumItems,22) + $EXP[Hidden_Options_Menu_Disabled]">50</onright>
<onback condition="String.IsEqual(window(movieinformation).property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(videos) + String.IsEqual(Window(movieinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(music) + String.IsEqual(Window(musicinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
</definition>
</include>

Expand Down Expand Up @@ -81,7 +82,8 @@
<onright condition="Integer.IsLessOrEqual(Container.NumItems,3) + Integer.IsGreater(Container.NumItems,1)">0</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + !$EXP[Hidden_Options_Menu_Disabled]">SetFocus(3000,0,absolute)</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + $EXP[Hidden_Options_Menu_Disabled]">501</onright>
<onback condition="String.IsEqual(window(movieinformation).property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(videos) + String.IsEqual(Window(movieinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(music) + String.IsEqual(Window(musicinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
</definition>
</include>

Expand All @@ -104,7 +106,8 @@
<onright condition="Integer.IsLessOrEqual(Container.NumItems,10) + Integer.IsGreater(Container.NumItems,1)">0</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + !$EXP[Hidden_Options_Menu_Disabled]">SetFocus(3000,0,absolute)</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + $EXP[Hidden_Options_Menu_Disabled]">502</onright>
<onback condition="String.IsEqual(window(movieinformation).property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(videos) + String.IsEqual(Window(movieinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(music) + String.IsEqual(Window(musicinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
</definition>
</include>

Expand All @@ -127,7 +130,8 @@
<onright condition="Integer.IsLessOrEqual(Container.NumItems,10) + Integer.IsGreater(Container.NumItems,1)">0</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + !$EXP[Hidden_Options_Menu_Disabled]">SetFocus(3000,0,absolute)</onright>
<onright condition="Integer.IsEqual(Container.NumItems,1) + $EXP[Hidden_Options_Menu_Disabled]">504</onright>
<onback condition="String.IsEqual(window(movieinformation).property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(videos) + String.IsEqual(Window(movieinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(music) + String.IsEqual(Window(musicinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
</definition>
</include>

Expand All @@ -146,7 +150,8 @@
<ondown condition="!$EXP[GridView_Display_IsFanart] + Integer.IsGreater(Container.NumItems,5)">505</ondown>
<ondown condition="$EXP[GridView_Display_IsFanart] + Integer.IsLessorEqual(Container.NumItems,3)">0</ondown>
<ondown condition="!$EXP[GridView_Display_IsFanart] + Integer.IsLessorEqual(Container.NumItems,5)">0</ondown>
<onback condition="String.IsEqual(window(movieinformation).property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(videos) + String.IsEqual(Window(movieinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
<onback condition="Window.Is(music) + String.IsEqual(Window(musicinformation).Property(SentFromInfo),true)">SetFocus(6001)</onback>
</definition>
</include>

Expand Down Expand Up @@ -375,7 +380,6 @@
</include>

<include name="MovieInfo_Dialog_Menu_Navigation">
<onback condition="!String.IsEqual(Window.Property(Breadcrumb_Level),1)">SetProperty(Infoscreen_Transition,true,home)</onback>
<onback>SetFocus(4020)</onback>
<ondown condition="Control.IsVisible(3201)">3201</ondown>
<ondown condition="!Control.IsVisible(3201) + Control.IsVisible(3202)">3202</ondown>
Expand Down Expand Up @@ -497,7 +501,9 @@
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + Integer.IsGreater(Container(3204).NumItems,0)">SetFocus(3204)</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + Integer.IsGreater(Container(3205).NumItems,0)">SetFocus(3205)</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + !Integer.IsGreater(Container(3205).NumItems,0) + Integer.IsGreater(Container(3206).NumItems,0)">SetFocus(3206)</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + !Integer.IsGreater(Container(3205).NumItems,0) + !Integer.IsGreater(Container(3206).NumItems,0) + !Integer.IsGreater(Container(3207).NumItems,0)">SetFocus($PARAM[bounce_id])</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + !Integer.IsGreater(Container(3205).NumItems,0) + !Integer.IsGreater(Container(3206).NumItems,0) + !Integer.IsGreater(Container(3207).NumItems,0) + [Container(3201).IsUpdating | Container(3202).IsUpdating | Container(3203).IsUpdating | Container(3204).IsUpdating | Container(3205).IsUpdating | Container(3206).IsUpdating | Container(3207).IsUpdating]">SetFocus($PARAM[bounce_id])</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + !Integer.IsGreater(Container(3205).NumItems,0) + !Integer.IsGreater(Container(3206).NumItems,0) + !Integer.IsGreater(Container(3207).NumItems,0) + ![Container(3201).IsUpdating | Container(3202).IsUpdating | Container(3203).IsUpdating | Container(3204).IsUpdating | Container(3205).IsUpdating | Container(3206).IsUpdating | Container(3207).IsUpdating]">Notification($LOCALIZE[31635],$LOCALIZE[31636],3000)</onfocus>
<onfocus condition="!Integer.IsGreater(Container(3201).NumItems,0) + !Integer.IsGreater(Container(3202).NumItems,0) + !Integer.IsGreater(Container(3203).NumItems,0) + !Integer.IsGreater(Container(3204).NumItems,0) + !Integer.IsGreater(Container(3205).NumItems,0) + !Integer.IsGreater(Container(3206).NumItems,0) + !Integer.IsGreater(Container(3207).NumItems,0) + ![Container(3201).IsUpdating | Container(3202).IsUpdating | Container(3203).IsUpdating | Container(3204).IsUpdating | Container(3205).IsUpdating | Container(3206).IsUpdating | Container(3207).IsUpdating]">Back</onfocus>
</definition>
</include>

Expand Down
Loading

0 comments on commit 04ae26c

Please sign in to comment.