Kodi Community Forum
Release GlobalSearch Script - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release GlobalSearch Script (/showthread.php?tid=109301)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


RE: [Release] GlobalSearch Script - senna99 - 2015-04-19

Hello

Is there any way to call string name in GlobalSearch Script?
Because l was made custom games library mostly using a string name.
Thanks


RE: [Release] GlobalSearch Script - ronie - 2015-04-19

(2015-04-19, 09:45)senna99 Wrote: Hello

Is there any way to call string name in GlobalSearch Script?
Because l was made custom games library mostly using a string name.
Thanks

sorry, not sure what you mean... what's a 'string name' ?


RE: [Release] GlobalSearch Script - senna99 - 2015-04-19

HI! ronie
For example in my guisettings.xml l have next.

l have wish when l call the script and enter the name of some game, to display the game like for music or movie. Of course if this is possible.


Quote: <setting type="string" name="skin.XONE.GamesName">Call of duty 1</setting>
<setting type="string" name="skin.XONE.Genre">Shooter</setting>
<setting type="string" name="skin.XONE.GamesFanart">C:\Games\Call of Duty 1\Call_of_Duty_1.jpg</setting>

Thank you


RE: [Release] GlobalSearch Script - ronie - 2015-04-19

thanx for the example :-)

this addon can only search for items that are in one of the databases (musicxx.db / epgxx.db / videox.db / ..)
it uses json-rpc to do this.


it's not possible to search for skin settings in guisettings.xml
once we get a games library in kodi, it will be possible to search for games though.


RE: [Release] GlobalSearch Script - senna99 - 2015-04-19

Thank you

I hope also that we will finally have games library in kodi.

Best Regards


RE: [Release] GlobalSearch Script - archie456 - 2015-05-04

I seem to have problems with this script - I'm running Kodi 14.2 via OpenElec on a Raspberry Pi and Aeon Nox skin.

When I run the script it works fine, but if I play anything that's been found Kodi immediately reboots. I've not yet been able to play anything via the search.

This is the debug log:

http://pastebin.com/DvENDW8H

The search version is 3.0.4.


RE: [Release] GlobalSearch Script - ronie - 2015-05-04

(2015-05-04, 18:20)archie456 Wrote: I seem to have problems with this script - I'm running Kodi 14.2 via OpenElec on a Raspberry Pi and Aeon Nox skin.

When I run the script it works fine, but if I play anything that's been found Kodi immediately reboots. I've not yet been able to play anything via the search.

This is the debug log:

http://pastebin.com/DvENDW8H

The search version is 3.0.4.

if Kodi crashes it's more likely to be a bug in Kodi than a problem in the addon.
check if Kodi creates a crashlog when it crashes and ask for help in the OpenElec support forum.

in case the OpenElec devs find it's a bug in the GlobalSearch addon, please let me know.


RE: [Release] GlobalSearch Script - archie456 - 2015-05-05

Where do I find crashlogs? in the temp folder?


RE: [Release] GlobalSearch Script - Milhouse - 2015-05-05

You won't get a crashlog with OpenELEC 5.0.8, you'll need an official master or Kodi 15 test build, then look in the .kodi/temp folder for a crashlog after a crash. However I'm not able to reproduce your crash with a Kodi 15 test build so maybe whatever is causing the crash is fixed already, or it's something peculiar to your system (extra addons, maybe?)


RE: [Release] GlobalSearch Script - archie456 - 2015-05-05

OK then, I'll wait and see...


RE: [Release] GlobalSearch Script - Milhouse - 2015-05-06

Then you'd better hope it's not something peculiar to your system.


RE: [Release] GlobalSearch Script - archie456 - 2015-05-07

I have the basic Raspbery Pi2 and OpenElec - theres nothing that peculiar about my system...

I have a Windows install - will try the plugin on that.


RE: [Release] GlobalSearch Script - Hitcher - 2015-05-17

ronie, I'm trying (and failing) to get this to focus on a list when loaded. I've used both <defaultcontrol always="true">9000</defaultcontrol> and <onload>SetFocus(9000)</onload> but neither work.

Is this being overridden by the script itself?

Thanks.

EDIT: Also the readme is wrong as these two controls are the other way around. Wink

Code:
198 - 'No results found' label, visible when no results are found
199 - 'New search' button, visible when the script finished searching



RE: [Release] GlobalSearch Script - ronie - 2015-05-17

(2015-05-17, 13:00)Hitcher Wrote: ronie, I'm trying (and failing) to get this to focus on a list when loaded. I've used both <defaultcontrol always="true">9000</defaultcontrol> and <onload>SetFocus(9000)</onload> but neither work.

Is this being overridden by the script itself?

correct. the script will set focus based on the results.
by default it will try to focus the movie list, but in case no movies are found
it will move on to the next category, tv shows. and so on...

if no results are returned (and thus all list are empty and can't be focussed)
it will set focus to the new search button.

(2015-05-17, 13:00)Hitcher Wrote: EDIT: Also the readme is wrong as these two controls are the other way around. Wink

Code:
198 - 'No results found' label, visible when no results are found
199 - 'New search' button, visible when the script finished searching

thanx. will fix that!


RE: [Release] GlobalSearch Script - Hitcher - 2015-05-17

Cheers, I'll have to think of a different approach.