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


Globalsearch Crashes Kodi on FireTV on Search Local Library - Longtime Collector - 2021-05-01

Globalsearch Crashes Kodi on FireTV on Search Local Library
Matrix 19.0 on FireTV. Generic install with default everything.
https://paste.kodi.tv/eduzojibuy.kodi


RE: GlobalSearch Script - robertus - 2021-05-17

Hi,

i didn't understand how to:

search inside "movies plot".

For me is important, because to find a movie, is better.

I search into the code of the script and seems that there is ListItem.Plot

But no info to use it when you search in kodi, last kodi.

Please can you help me to find out ?


RE: GlobalSearch Script - ronie - 2021-05-17

i'm afraid you can't search in movie plots with globalsearch. it's not supported.


RE: GlobalSearch Script - robertus - 2021-05-17

(2021-05-17, 18:30)ronie Wrote: i'm afraid you can't search in movie plots with globalsearch. it's not supported.

Oh i see

and in first, thanks to reply me.

So I misunderstanding what ListItem.Plot  is.

Anyway can you suggest me a solution?


RE: GlobalSearch Script - ronie - 2021-05-18

haven't tested it myself, but you could try altering this line:
https://gitlab.com/ronie/script.globalsearch/-/blob/master/lib/defs.py#L54

check if changing that line to
json:
'rule':'"filter":{{"field":"plot", "operator":"contains", "value":"{query}"}}',
does the job.

or if you want to search for both movie title and movie plot, try this:
json:
'rule':'"filter":{{"or":[{{"field":"title", "operator":"contains", "value":"{query}"}}, {{"field":"originaltitle", "operator":"contains", "value":"{query}"}}, {{"field":"plot", "operator":"contains", "value":"{query}"}}]}}',



RE: GlobalSearch Script - Afonzo - 2021-05-18

When I click "Zu Favoriten hinzufügen" (Add to favorites) nothing happens (it is not added to the faves):
Image

What could I do to add movies in the search result to the favorites?


RE: GlobalSearch Script - robertus - 2021-05-18

(2021-05-18, 02:31)ronie Wrote: haven't tested it myself, but you could try altering this line:
https://gitlab.com/ronie/script.globalsearch/-/blob/master/lib/defs.py#L54

check if changing that line to
json:
'rule':'"filter":{{"field":"plot", "operator":"contains", "value":"{query}"}}',
does the job.

or if you want to search for both movie title and movie plot, try this:
json:
'rule':'"filter":{{"or":[{{"field":"title", "operator":"contains", "value":"{query}"}}, {{"field":"originaltitle", "operator":"contains", "value":"{query}"}}, {{"field":"plot", "operator":"contains", "value":"{query}"}}]}}',
Awesome

Thanks!


RE: GlobalSearch Script - Afonzo - 2021-05-18

I will try, thank you. So this line could cause that the found movie will be added to the favorites.

But why doesn't GlobalSearch do it by itself?


RE: GlobalSearch Script - Dumyat - 2021-06-12

@ronie 
Was using GlobalSearch a couple of days ago with the latest Matrix version to look up some specific directors and actors, but wouldn't return any search results. Are director and actor searches not available? I was actually quite surprised as I thought I'd done similar searches previously when using Leia and other earlier versions.
Is it a feature that can be added, if not currently available?
Would find it quite useful.


RE: GlobalSearch Script - Angelinas - 2021-06-12

working for Cast and director....
settings need to set....

Image


RE: GlobalSearch Script - Dumyat - 2021-06-12

(2021-06-12, 00:53)Angelinas Wrote: working for Cast and director....
settings need to set....

Image
Great stuff! 
Like I said, I felt sure I'd searched before without any probs.
Lesson for the day....Check the settings first!  Wink
Ronie, please accept my humble apologies for my naff request previously!


RE: GlobalSearch Script - robertlaing - 2022-01-31

Hi ronie,

I was wondering if you could help please?

I have noticed is that when I use the global search in the main menu and do a search which brings back multiple results for any given search, I have found that when I click into a director and look at his films, the whole search result list becomes corrupted.

I tested this by bringing back a search result with one director only (ie: an exact match to the director's name) and it did the same.

The other categories work fine - so I can go into movies, or actors etc, check out the results and return to the main list of search results on the left hand side.

Also, when I go into any of the results with a return button (with an arrow on), it counts the return button as an item of the search. So, for example, if I have 12 movies, it says I have 13 movies as it counts the return button as a movie.

Thanks in advance.

Kind regards,
Robert.


RE: GlobalSearch Script - ronie - 2022-01-31

thanx for the heads-up!
i was able to reproduce the issues and have submitted a fix to the addon repo.


RE: GlobalSearch Script - robertlaing - 2022-01-31

Hi ronie,

It's working great!
Thanks for sorting that out so quickly, much appreciated.

Kind regards,
Robert.


RE: GlobalSearch Script - molnarnoah - 2022-08-16

Hi Rosie!

I'm looking for a modification of your add-on. I want to search by the TMDB id-s in my local database. Every movie and series have it I checked in MySQL. Any ideas, what I have to change in the code?

Thank you!