From 7ab6142b791aa05d2985b330843f9ae1581cb1ab Mon Sep 17 00:00:00 2001 From: realcopacetic Date: Mon, 29 Apr 2024 13:19:42 +0100 Subject: [PATCH] globalsearch --- 16x9/Actions.xml | 42 ++++++++++++---- 16x9/Buttons_Infoscreen_Path_Tracer.xml | 4 +- 16x9/Colors.xml | 24 ++++++++- 16x9/Custom_1180_globalsearch.xml | 4 +- 16x9/Home.xml | 5 +- 16x9/Navigation.xml | 65 ++++++++++++++++++------- 16x9/Scrollbars.xml | 6 +-- 16x9/Templates_Widgets.xml | 28 +++++------ addon.xml | 2 +- 9 files changed, 126 insertions(+), 54 deletions(-) diff --git a/16x9/Actions.xml b/16x9/Actions.xml index f1782479..5a3f7e1c 100644 --- a/16x9/Actions.xml +++ b/16x9/Actions.xml @@ -26,15 +26,15 @@ - RunScript(script.copacetic.helper,action=play_items,id=3201,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3202,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3203,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3204,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3205,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3206,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3207,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3208,type=$PARAM[type],method=$PARAM[method]) - RunScript(script.copacetic.helper,action=play_items,id=3209,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3201,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3202,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3203,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3204,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3205,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3206,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3207,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3208,type=$PARAM[type],method=$PARAM[method]) + RunScript(script.copacetic.helper,action=play_items,id=3209,type=$PARAM[type],method=$PARAM[method]) @@ -110,6 +110,11 @@ ActivateWindow(music,musicdb://albums/$INFO[Container.ListItem.DBID]/-2/?albumid=$INFO[Container.ListItem.DBID],return) + + Dialog.Close(all) + + + @@ -123,16 +128,33 @@ PlayMedia($ESCINFO[ListItem.Filenameandpath]) + + Dialog.Close(all) + PlayMedia($ESCINFO[ListItem.Filenameandpath]) + + Dialog.Close(all) SetProperty(SentFromInfo,true,movieinformation) ActivateWindow(Videos,$INFO[Container(3202).ListItem.FolderPath]/,return) + + Dialog.Close(all) + SetProperty(SentFromInfo,true,musicinformation) + ActivateWindow(music,musicdb://artists/$INFO[Container(3202).ListItem.DBID]/,return) + + Dialog.Close(all) SetProperty(SentFromInfo,true,musicinformation) - ActivateWindow(music,musicdb://albums/$INFO[Container(3202).ListItem.DBID]/-2/,return) + ActivateWindow(music,musicdb://albums/$INFO[Container(3202).ListItem.DBID]/-2/,return) + ActivateWindow(music,musicdb://albums/$INFO[Container(3205).ListItem.DBID]/-2/,return) + + + + Dialog.Close(all) + ActivateWindow(videos,videodb://tvshows/titles/$INFO[ListItem.DBID]/,return) diff --git a/16x9/Buttons_Infoscreen_Path_Tracer.xml b/16x9/Buttons_Infoscreen_Path_Tracer.xml index c5e622da..db9a9990 100644 --- a/16x9/Buttons_Infoscreen_Path_Tracer.xml +++ b/16x9/Buttons_Infoscreen_Path_Tracer.xml @@ -59,7 +59,7 @@ ClearProperty(ContainerPath_1,$PARAM[window]) ClearProperty(Breadcrumb_Level,$PARAM[window]) - Dialog.Close(all,true) + Dialog.Close ActivateWindow(home) SetFocus(6001) ClearProperty(Origin,home) @@ -100,7 +100,7 @@ ClearProperty(ContainerPath_10,$PARAM[window]) SetProperty(Breadcrumb_Level,9,$PARAM[window]) - Dialog.Close(all,true) + Dialog.Close SetFocus(6001) diff --git a/16x9/Colors.xml b/16x9/Colors.xml index c91c6400..c7e8802c 100644 --- a/16x9/Colors.xml +++ b/16x9/Colors.xml @@ -720,7 +720,7 @@ $VAR[Primary_Color] - $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] $VAR[Alpha_15]$VAR[Dark_Hex] $VAR[Alpha_15]$VAR[Light_Hex] $VAR[Alpha_15]$VAR[Light_Hex] @@ -788,7 +788,7 @@ $VAR[Alpha_15]$VAR[Light_Hex] - $VAR[Light_Color] + $VAR[Light_Color] $VAR[Dark_Grey_Color] $VAR[Light_Color] $VAR[Light_Color] @@ -854,6 +854,26 @@ $VAR[Light_Color] $VAR[Primary_Color] + + + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Light_Hex] + $VAR[Alpha_15]$VAR[Dark_Hex] + + + $VAR[Light_Color] + $VAR[Light_Color] + $VAR[Light_Color] + $VAR[Light_Color] + $VAR[Light_Color] + $VAR[Light_Color] + $VAR[Dark_Grey_Color] + + $VAR[Alpha_15]$VAR[Dark_Hex] $VAR[Alpha_15]$VAR[Light_Hex] diff --git a/16x9/Custom_1180_globalsearch.xml b/16x9/Custom_1180_globalsearch.xml index bac00d84..3f4e9fa9 100644 --- a/16x9/Custom_1180_globalsearch.xml +++ b/16x9/Custom_1180_globalsearch.xml @@ -1,6 +1,7 @@ + 3000 @@ -32,6 +33,7 @@ - + + \ No newline at end of file diff --git a/16x9/Home.xml b/16x9/Home.xml index 97618ba5..02f8af30 100644 --- a/16x9/Home.xml +++ b/16x9/Home.xml @@ -67,8 +67,9 @@ 30 icons/icon_browse_unfocused_120.png icons/icon_browse_focused_120.png - Skin.SetString(globalsearch) - ActivateWindow(1180) + + + RunScript(script.copacetic.helper,action=globalsearch_input) diff --git a/16x9/Navigation.xml b/16x9/Navigation.xml index eeb3a79e..bd0535eb 100644 --- a/16x9/Navigation.xml +++ b/16x9/Navigation.xml @@ -510,28 +510,43 @@ 3205 3206 3207 - SetFocus(3000) 3203 3204 3205 3206 3207 - SetFocus(3000) + 3201 3204 3205 3206 3207 - SetFocus(3000) + 3201 + 3202 + 3203 3205 3206 3207 - SetFocus(3000) + 3201 + 3202 + 3203 3206 3207 - SetFocus(3000) + 3201 + 3202 + 3203 + 3204 3207 - SetFocus(3000) - SetFocus(3000) + 3201 + 3202 + 3203 + 3204 + 3205 + 3201 + 3202 + 3203 + 3204 + 3205 + 3206 3206 3205 @@ -539,28 +554,42 @@ 3203 3202 3201 - SetFocus(3000) 3205 3204 3203 3202 3201 - SetFocus(3000) + 3207 3204 3203 3202 3201 - SetFocus(3000) + 3207 + 3206 3203 3202 3201 - SetFocus(3000) + 3207 + 3206 + 3205 3202 3201 - SetFocus(3000) + 3207 + 3206 + 3205 + 3204 3201 - SetFocus(3000) - SetFocus(3000) + 3207 + 3206 + 3205 + 3204 + 3203 + 3207 + 3206 + 3205 + 3204 + 3203 + 3202 @@ -584,10 +613,10 @@ - Control.Move(3000,$INFO[Container(3000).CurrentItem,-]) - Control.Move(3000,1) - Control.Move(50,$INFO[Container(50).CurrentItem,-]) - Control.Move(50,1) + Control.Move(3000,$INFO[Container(3000).CurrentItem,-]) + Control.Move(3000,1) + Control.Move(50,$INFO[Container(50).CurrentItem,-]) + Control.Move(50,1) Control.Move(3201,$INFO[Container(3201).CurrentItem,-]) Control.Move(3201,1) Control.Move(3202,$INFO[Container(3202).CurrentItem,-]) diff --git a/16x9/Scrollbars.xml b/16x9/Scrollbars.xml index 1a71c1b7..0e4a3fc3 100644 --- a/16x9/Scrollbars.xml +++ b/16x9/Scrollbars.xml @@ -619,7 +619,7 @@ - + @@ -653,8 +653,8 @@ - - + + diff --git a/16x9/Templates_Widgets.xml b/16x9/Templates_Widgets.xml index 80d5c926..f5192c80 100644 --- a/16x9/Templates_Widgets.xml +++ b/16x9/Templates_Widgets.xml @@ -800,10 +800,10 @@ - - + + - + @@ -818,11 +818,10 @@ - - - + + - + @@ -837,11 +836,10 @@ - - - + + - + @@ -857,10 +855,10 @@ - + - + @@ -876,10 +874,10 @@ - + - + diff --git a/addon.xml b/addon.xml index 877973c7..25075483 100644 --- a/addon.xml +++ b/addon.xml @@ -7,7 +7,7 @@ - +