Skip to content

Commit

Permalink
globalsearch wip
Browse files Browse the repository at this point in the history
  • Loading branch information
realcopacetic committed Apr 25, 2024
1 parent 457e4b1 commit fafca8d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
15 changes: 15 additions & 0 deletions 16x9/Custom_1180_globalsearch.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1180">
<!-- global search -->
<defaultcontrol always="true">100</defaultcontrol>
<controls>
<control type="image">
<texture colordiffuse="$VAR[AccentColor]">views/white_100.png</texture>
<width>200</width>
</control>
<control type="button" id="100">
<onclick>Skin.SetString(globalsearch)</onclick>
</control>
<include content="globalsearch_Widget_3201_Movies" />
</controls>
</window>
18 changes: 18 additions & 0 deletions 16x9/Templates_Widgets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -788,4 +788,22 @@
</include>
</include>

<include name="globalsearch_Widget_3201_Movies">
<include content="Infoscreen_Widget_Template">
<param name="widget_view" value="Strip" />
<param name="widget_display" value="Fanart" />
<param name="id" value="3201" />
<param name="widget_position" value="1" />
<param name="target" value="videos" />
<param name="sortby" value="random" />
<param name="sortorder" value="ascending" />
<param name="content" value="videodb://movies/titles/?xsp=%7B%22rules%22%3A%7B%22and%22%3A%5B%7B%22field%22%3A%22title%22%2C%22operator%22%3A%22contains%22%2C%22value%22%3A%5B%22$INFO[Skin.String(globalsearch)]%22%5D%7D%5D%7D%2C%22type%22%3A%22movies%22%7D" />
<param name="click_action" value="Open_More_From_Studio" />
<param name="limit" value="50" />
<param name="widget_header" value="$INFO[Window(home).Property(StudioSplit.0)]" />
<param name="widget_info" value="$VAR[Copacetic_Divider_Bold,, ]$LOCALIZE[31211]" />
</include>
</include>


</includes>
11 changes: 11 additions & 0 deletions 16x9/script-globalsearch-main.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<!-- globalsearch -->
<defaultcontrol always="true">111</defaultcontrol>
<backgroundcolor>$VAR[Dark_Color]</backgroundcolor>
<controls>
<control type="group" id="100">
<include content="globalsearch_Movies_Widget" />
</control>
</controls>
</window>
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisc

### Changelog
---
**1.3.2**
-

**1.3.1**
- Support for videoversions management dialog and embedded lists [omega]
- Support for videoversions folder views [omega]
Expand Down
4 changes: 2 additions & 2 deletions addon.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.copacetic" version="1.3.1~omega" name="Copacetic" provider-name="realcopacetic">
<addon id="skin.copacetic" version="1.3.2" name="Copacetic" provider-name="realcopacetic">
<requires>
<import addon="xbmc.gui" version="5.17.0" />
<import addon="script.copacetic.helper" version="1.0.12" />
<import addon="resource.fonts.copacetic" version="1.0.5" />
<import addon="script.skinshortcuts" version="1.1.5" />
<import addon="service.upnext" version="1.1.9+MATRIX.1" />
</requires>
<extension point="xbmc.gui.skin" defaultthemename="Textures.xbt" effectslowdown="0.7" debugging="false">
<extension point="xbmc.gui.skin" defaultthemename="Textures.xbt" effectslowdown="0.7" debugging="true">
<res width="1920" height="1080" aspect="16:9" default="true" folder="16x9" />
</extension>
<extension point="xbmc.addon.metadata">
Expand Down

0 comments on commit fafca8d

Please sign in to comment.