From c3efdcf6f2a727dcaa2109e5db82fb3a7149ef83 Mon Sep 17 00:00:00 2001 From: realcopacetic Date: Thu, 9 May 2024 10:29:57 +0100 Subject: [PATCH] bug fixing wip --- 16x9/Home.xml | 4 ++-- 16x9/MyVideoNav.xml | 2 +- 16x9/OnLoadUnload.xml | 2 +- 16x9/Timers.xml | 4 ++-- 16x9/Viewtype_501_Billboard.xml | 5 +++-- 16x9/Viewtype_505_Grid.xml | 2 -- addon.xml | 2 +- 7 files changed, 10 insertions(+), 11 deletions(-) diff --git a/16x9/Home.xml b/16x9/Home.xml index 61bb9a36..c0cef3de 100644 --- a/16x9/Home.xml +++ b/16x9/Home.xml @@ -2,7 +2,7 @@ RunScript(script.skinshortcuts,type=buildxml&mainmenuID=3000&group=mainmenu|shutdownmenu) - PlayerControl(Stop) + PlayerControl(Stop) ClearProperty(Trailer_Autoplay,home) 4010 $VAR[Dark_Color] @@ -84,7 +84,7 @@ right - + \ No newline at end of file diff --git a/16x9/MyVideoNav.xml b/16x9/MyVideoNav.xml index 653feba9..9d94bc95 100644 --- a/16x9/MyVideoNav.xml +++ b/16x9/MyVideoNav.xml @@ -4,7 +4,7 @@ ClearProperty(OptionsMenu,home) ClearProperty(Scrollbars,home) - PlayerControl(Stop) + PlayerControl(Stop) ClearProperty(Trailer_Autoplay,home) 50 3000 diff --git a/16x9/OnLoadUnload.xml b/16x9/OnLoadUnload.xml index 65dfc3a9..520d22f9 100644 --- a/16x9/OnLoadUnload.xml +++ b/16x9/OnLoadUnload.xml @@ -43,7 +43,7 @@ - PlayerControl(Stop) + PlayerControl(Stop) ClearProperty(Trailer_Autoplay,home) SetProperty(SelectedItem,$INFO[ListItem.DBID],movieinformation) SetProperty(SelectedItem,$INFO[ListItem.Property(tmdb_id)],movieinformation) diff --git a/16x9/Timers.xml b/16x9/Timers.xml index 8fc03119..83e2d388 100644 --- a/16x9/Timers.xml +++ b/16x9/Timers.xml @@ -72,13 +72,13 @@ widget_spotlight Control.HasFocus(3201) | Control.HasFocus(3202) | Control.HasFocus(3203) | Control.HasFocus(3204) | Control.HasFocus(3205) | Control.HasFocus(3206) | Control.HasFocus(3207) | Control.HasFocus(3208) | Control.HasFocus(3209) - [[Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(widget_spotlight),15) + System.IdleTime(15) + String.IsEmpty(Window(home).Property(Trailer_Autoscroll))] | [Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(widget_spotlight),3) + System.IdleTime(3) + String.IsEqual(Window(home).Property(Trailer_Autoscroll),true)]] + !Window.IsVisible(movieinformation) + !Player.HasVideo - ClearProperty(Trailer_Autoplay,home) + [[Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(widget_spotlight),15) + System.IdleTime(15) + String.IsEmpty(Window(home).Property(Trailer_Autoscroll))] | [Integer.IsGreaterOrEqual(Skin.TimerElapsedSecs(widget_spotlight),4) + System.IdleTime(4) + String.IsEqual(Window(home).Property(Trailer_Autoscroll),true)]] + !Window.IsVisible(movieinformation) + !Player.HasVideo Control.Move(3201,1) Control.Move(3202,1) Control.Move(3203,1) Control.Move(3204,1) Control.Move(3205,1) + ClearProperty(Trailer_Autoplay,home) Control.Move(3206,1) Control.Move(3207,1) Control.Move(3208,1) diff --git a/16x9/Viewtype_501_Billboard.xml b/16x9/Viewtype_501_Billboard.xml index a2d273fa..062b137f 100644 --- a/16x9/Viewtype_501_Billboard.xml +++ b/16x9/Viewtype_501_Billboard.xml @@ -43,11 +43,12 @@ - + + + - Conditional Conditional Conditional diff --git a/16x9/Viewtype_505_Grid.xml b/16x9/Viewtype_505_Grid.xml index bcd0c840..b408a0ad 100644 --- a/16x9/Viewtype_505_Grid.xml +++ b/16x9/Viewtype_505_Grid.xml @@ -36,8 +36,6 @@ 180 1920 900 - PlayerControl(Stop) - ClearProperty(Trailer_Autoplay,home) ClearProperty(Widget_DBID,home) 60 diff --git a/addon.xml b/addon.xml index fad94f36..6edf5771 100644 --- a/addon.xml +++ b/addon.xml @@ -7,7 +7,7 @@ - +