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 - Milhouse - 2014-10-13

Trac #15482 - I've cc'd yourself and jfcarroll. If I can catch him on irc I'll bend his ear. Smile


RE: [Release] GlobalSearch Script - Milhouse - 2014-10-13

(2014-10-13, 18:29)ronie Wrote: thanx! i thought i'd taken care of that long time ago, but apparently it slipped my mind.

fix: https://github.com/xbmc/xbmc/commit/5f8406b05d7e8a36d55f2961fb2ed821a751343b

Hi - testing this build now, and control 141 (in window 13001) is still a bit of a problem:
Code:
19:46:42 1205.224487 T:3042574336   DEBUG: LIRC: Update - NEW at 1189718:160 0 KEY_OK devinput (KEY_OK)
19:46:42 1205.224854 T:3042574336   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
19:46:42 1205.257568 T:3042574336   DEBUG: LIRC: Update - NEW at 1189752:160 0 KEY_OK_UP devinput (KEY_OK_UP)
19:46:42 1205.523804 T:3042574336   DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
19:46:42 1205.524048 T:3042574336   DEBUG: CAnnouncementManager - Announcement: OnInputFinished from xbmc
19:46:42 1205.524292 T:3042574336   DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputFinished
19:46:42 1205.693237 T:2874143824   DEBUG: script.globalsearch: script version 3.0.0 started
19:46:42 1205.705200 T:3042574336   DEBUG: ------ Window Init (/usr/share/xbmc/addons/skin.confluence/720p/script-globalsearch-main.xml) ------
19:46:42 1205.705688 T:3042574336    INFO: Loading skin file: /usr/share/xbmc/addons/skin.confluence/720p/script-globalsearch-main.xml, load type: LOAD_ON_GUI_INIT
19:46:43 1206.002075 T:3042574336   DEBUG: CGUIMediaWindow::GetDirectory ()
19:46:43 1206.002319 T:3042574336   DEBUG:   ParentPath = []
19:46:43 1206.174072 T:2874143824   DEBUG: RunQuery took 6 ms for 0 items query: select * from movieview  WHERE ((movieview.c00 LIKE '%mummy%'))
19:46:43 1206.268188 T:2874143824   DEBUG: RunQuery took 3 ms for 0 items query: select * from movieview  WHERE (( EXISTS (SELECT 1 FROM actorlinkmovie JOIN actors ON actors.idActor=actorlinkmovie.idActor WHERE actorlinkmovie.idMovie = movieview.idMovie AND actors.strActor LIKE '%mummy%')))
19:46:43 1206.345215 T:2874143824   DEBUG: RunQuery took 4 ms for 0 items query: SELECT * FROM tvshowview  WHERE ((tvshowview.c00 LIKE '%mummy%'))
19:46:43 1206.414795 T:2874143824   DEBUG: RunQuery took 3 ms for 1 items query: select * from episodeview  WHERE ((episodeview.c00 LIKE '%mummy%'))
19:46:43 1206.535400 T:3042574336   ERROR: Control 141 in window 13001 has been asked to focus, but it can't
19:46:43 1206.548950 T:2751460432  NOTICE: Thread JobWorker start, auto delete: true
19:46:43 1206.577759 T:2751460432   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_decode input port 320 output port 321 m_handle 0xa2300c60
19:46:43 1206.580688 T:2751460432   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_decode) - port(320), nBufferCountMin(2), nBufferCountActual(2), nBufferSize(81920), nBufferAlignmen(16)

It doesn't seem to cause any problems, but if it can be fixed that would be nice. Smile


RE: [Release] GlobalSearch Script - ronie - 2014-10-13

(2014-10-13, 20:49)Milhouse Wrote: Hi - testing this build now, and control 141 (in window 13001) is still a bit of a problem

thanx for testing the latest confluence fixes!

this one turns out to be a timing issue in the addon.
i'll have to add a little delay between filling the list and setting focus to the list.

it will be fixed in the next version of globalsearch.


RE: [Release] GlobalSearch Script - takoi - 2014-10-18

(2014-10-13, 18:43)Milhouse Wrote: Trac #15482 - I've cc'd yourself and jfcarroll. If I can catch him on irc I'll bend his ear. Smile
These cyclic references man.. How about not randomly call sys.modules.clear all the time? Script is probably crashing or not exiting correctly


RE: [Release] GlobalSearch Script - Milhouse - 2014-10-18

(2014-10-18, 13:36)takoi Wrote: These cyclic references man.. How about not randomly call sys.modules.clear all the time? Script is probably crashing or not exiting correctly

Yes, commenting out the call to "sys.modules.clear" gets rid of the error and warning! Thanks takoi (tamland). Smile

Happy to close the trac ticket if Ronie agrees this is the correct fix (and there isn't some other reason sys.modules.clear is being called).


RE: [Release] GlobalSearch Script - ronie - 2014-10-18

yep, was just testing it myself.

please close the ticket, i'll will make the change in globalsearch.

@takoi: big thx for the hint!


RE: [Release] GlobalSearch Script - braz - 2014-10-31

Is there a way to display the search term on the results screen? Just thinking that this could be useful. Thx!


RE: [Release] GlobalSearch Script - ronie - 2014-10-31

(2014-10-31, 01:50)bryanbrazil Wrote: Is there a way to display the search term on the results screen? Just thinking that this could be useful. Thx!

yes it's possible, but it's up to the skin wheter it will be shown or not.


RE: [Release] GlobalSearch Script - maxwel - 2014-11-04

Hi everyone , I was wondering if is there a way to use a prediction service for GlobalSearch?

Thank you guys for any help

Grtz Max


RE: [Release] GlobalSearch Script - Hitcher - 2014-11-04

That would be pretty awesome.


RE: [Release] GlobalSearch Script - ronie - 2014-11-05

(2014-11-04, 20:51)maxwel Wrote: Hi everyone , I was wondering if is there a way to use a prediction service for GlobalSearch?

Thank you guys for any help

Grtz Max
nope, not possible. the addon receives the searchstring the moment you hit ok in the keyboard dialog.
i don't think there's a way to receive each individual keypress, needed to search as you type.


RE: [Release] GlobalSearch Script - maxwel - 2014-11-12

thank you guys for quick reply


RE: [Release] GlobalSearch Script - Talguy - 2014-11-29

I was wondering if there is anyway this add-on could return results from the PVR EPG. If the user clicks on that result kodi will then tune to that live TV channel.


RE: [Release] GlobalSearch Script - ronie - 2014-11-29

(2014-11-29, 02:03)Talguy Wrote: I was wondering if there is anyway this add-on could return results from the PVR EPG. If the user clicks on that result kodi will then tune to that live TV channel.

yes it's possible to add support for searching the epg,
but it will require all skins to update their search window though.

since we're close to the release of Kodi Helix, it's not possible
to make the needed changes to Confluence anymore.

in short, i'll add support for epg search, but it might take a while before you can actually use it.


RE: [Release] GlobalSearch Script - Talguy - 2014-11-30

Yea that's fine. I just thought I'd bring it up as PVR went through a huge update to feel more integrated into kodi. So I thought I'd request an update to search my whole library PVR recordings and future showings