[WIP] Search script (looking for nightly build testers)
#16
great script, what about an option to search for actors and directors?
#17
999unreal Wrote:Thank you ronie.Smile

However, I cannot effectively use it.
Because, "XBMC" in the on-screen keyboard
Is unable to enter the Japanese. Sad
Therefore, Japanese TV shows and Movies cannot be search.

Are there any good idea?

i'm not sure i can do anything to help you out.

i have the feeling this is something that needs to be changed in xbmc, rather than the skin.

you should create a feature request a trac imo.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#18
ezechiel1917 Wrote:great script, what about an option to search for actors and directors?

i have been thinking about adding an 'advanced search' option,
which should allow you to search by genre, director, actor and so on...

for now, it's just an idea and i have no clue how easy it will be to implement.
also, searching for actors may take a significant amount of time as it is a lot of data to process.

but, i'm open to suggestions, so if there's any other search features you like to see, let me know
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#19
Hey Ronie...
Iḿ not a T!-User but I found this by accident and must say: Great Work...
This is something that pushes XBMC forward...
Now I would like to contribute something...the German translation:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="32000">Allgemein</string>
    <string id="32001">Suche Filme</string>
    <string id="32002">Suche TV-Serien</string>
    <string id="32003">Suche Episoden</string>
    <string id="32004">Suche Musik-Videos</string>
    <string id="32005">Suche Interpreten</string>
    <string id="32006">Suche Alben</string>
    <string id="32007">Suche Songs</string>
    <string id="32101">Suchbegriff eingeben</string>
    <string id="32201">Finde alle Staffeln und Episoden</string>
    <string id="32202">Finde alle Alben und Songs</string>
    <string id="32203">Album durchsuchen</string>
    <string id="32204">Staffel-Informationen</string>
    <string id="32205">Trailer abspielen</string>
    <string id="32206">Finde Album</string>
    <string id="32299">NEUE SUCHE</string>
</strings>
I hope it's useful for you...

cheers,
mm
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
#20
mad-max Wrote:Hey Ronie...
Iḿ not a T!-User but I found this by accident and must say: Great Work...

heh, the addon isn't specific for T! only ;-)

i just needed to find a 'quiet spot' to test things out with a few users,
before i'll make it publicly available :-)
mad-max Wrote:This is something that pushes XBMC forward...
Now I would like to contribute something...the German translation:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="32000">Allgemein</string>
    <string id="32001">Suche Filme</string>
    <string id="32002">Suche TV-Serien</string>
    <string id="32003">Suche Episoden</string>
    <string id="32004">Suche Musik-Videos</string>
    <string id="32005">Suche Interpreten</string>
    <string id="32006">Suche Alben</string>
    <string id="32007">Suche Songs</string>
    <string id="32101">Suchbegriff eingeben</string>
    <string id="32201">Finde alle Staffeln und Episoden</string>
    <string id="32202">Finde alle Alben und Songs</string>
    <string id="32203">Album durchsuchen</string>
    <string id="32204">Staffel-Informationen</string>
    <string id="32205">Trailer abspielen</string>
    <string id="32206">Finde Album</string>
    <string id="32299">NEUE SUCHE</string>
</strings>
I hope it's useful for you...

cheers,
mm

cheers mate, much appreciated.

i'll add it to the next release.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#21
Quote:heh, the addon isn't specific for T! only ;-)

Yes, but found it in a thread where I have never looked in before---transparecy subforum :-)

Sorry for that Laugh
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
#22
Smile 
Hi ronie,

great script most useful but in xbmc.log ...

Code:
ERROR: /home/m4x1m/.xbmc/addons/script.globalsearch/resources/lib/gui.py:25: DeprecationWarning: object.__init__() takes no parameters

ERROR: /home/m4x1m/.xbmc/addons/script.globalsearch/resources/lib/infodialog.py:13: DeprecationWarning: object.__init__() takes no parameters

ClearBlock: Trying to clear non existent block /home/m4x1m/.xbmc/addons/script.globalsearch

and the info (when I press 'i') is totally blank.

Since there are check this...

Code:
ERROR: unable to load:/home/m4x1m/.xbmc/addons/skin.transparency/720p/DialogExtendedProgressBar.xml, Line 0

Latest PVR XBMC (Ubuntu Maverick) and latest T! SVN (1080)

Thanks!
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
#23
m4x1m Wrote:Hi ronie,

great script most useful but in xbmc.log ...

Code:
ERROR: /home/m4x1m/.xbmc/addons/script.globalsearch/resources/lib/gui.py:25: DeprecationWarning: object.__init__() takes no parameters

ERROR: /home/m4x1m/.xbmc/addons/script.globalsearch/resources/lib/infodialog.py:13: DeprecationWarning: object.__init__() takes no parameters

ClearBlock: Trying to clear non existent block /home/m4x1m/.xbmc/addons/script.globalsearch
thanx, fixed those errors right away :-)
m4x1m Wrote:and the info (when I press 'i') is totally blank.
hmm....the pvr branch is acting a bit funny...
does the info appear if you press 'up' in the info screen?

m4x1m Wrote:Since there are check this...
Code:
ERROR: unable to load:/home/m4x1m/.xbmc/addons/skin.transparency/720p/DialogExtendedProgressBar.xml, Line 0

Latest PVR XBMC (Ubuntu Maverick) and latest T! SVN (1080)

Thanks!
thanx for the heads-up, i'll add that file in a bit. :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#24
ronie Wrote:hmm....the pvr branch is acting a bit funny...
does the info appear if you press 'up' in the info screen?

Oh yes, info appear ConfusedOoEekHuh

I hope you can fix it!Wink
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB
Running Ubuntu Precise 12.04.04 - FRODO 12.03 - Transparency!
Movies: 996 - TV Show: 98 - Albums: 1161

My Script: Rating Update - Thumbnails Cleaner
#25
Thank you for this script.
It works perfectly.

I LOVE YOU Smile
#26
Hi Ronie, thanks for this script Smile

French translation :
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="32000">Général</string>
    <string id="32001">Recherche Films</string>
    <string id="32002">Recherche Séries TV</string>
    <string id="32003">Recherche Episodes</string>
    <string id="32004">Recherche Clips Vidéos</string>
    <string id="32005">Recherche Artistes</string>
    <string id="32006">Recherche Albums</string>
    <string id="32007">Recherche Chansons</string>
    <string id="32101">Entrer Mot de Recherche</string>
    <string id="32201">Trouver tous les épisodes et saisons</string>
    <string id="32202">Trouver tous les albums et chansons</string>
    <string id="32203">Parcourir album</string>
    <string id="32204">Information saison</string>
    <string id="32205">Lire bande annonce</string>
    <string id="32206">Trouver album</string>
    <string id="32299">NOUVELLE RECHERCHE</string>
</strings>
My name is Erier, Humf Erier
Image
#27
humferier Wrote:Hi Ronie, thanks for this script Smile

and thank you for the translation :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#28
ronie Wrote:to speed thing up during skinning, go to the addon settings and disable some/most of the search categories.

Thanks, that helped Smile

A couple of suggestions
  • It would be convenient if pressing "I" a second time would close the information dialog again, like it does in XBMC itself. Same goes for the context menu using C.
  • I assume it's not possible to use XBMC's media information dialogs? If it is possible it would certainly save a lot of extra coding.
  • It seems to me there is no sorting by relevance? Sometimes when I do a search the first result can seem one of the less relevant results, and more relevant results are somewhere down the list. If this could be accomplished, that would be a great addition imo.
  • Searching through plots would be nice, although I suspect this would have a severe impact on performance.

In any case these are just suggestions, it's already a great script Smile

Dutch translation:
Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
    <string id="32000">Algemeen</string>
    <string id="32001">Zoek Films</string>
    <string id="32002">Zoek TV Series</string>
    <string id="32003">Zoek Afleveringen</string>
    <string id="32004">Zoek Muziek Videos</string>
    <string id="32005">Zoek Artiesten</string>
    <string id="32006">Zoek Albums</string>
    <string id="32007">Zoek Nummers</string>
    <string id="32101">Voer zoekterm in</string>
    <string id="32201">Vind alle seizoenen en afleveringen</string>
    <string id="32202">Vind alle albums en nummers</string>
    <string id="32203">Open album</string>
    <string id="32204">Seizoen informatie</string>
    <string id="32205">Start trailer</string>
    <string id="32206">Vind album</string>
    <string id="32299">ZOEK OPNIEUW</string>
</strings>

BTW: there's a typo in string 32006 (Search abums) Wink
#29
m4x1m Wrote:I hope you can fix it!Wink

not sure if it's up to me to fix...
there's no issue with latest xbmc git.

no clue why the pvr build is acting funny.


but... i'll have another look at the code :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
#30
Jeroen Wrote:It would be convenient if pressing "I" a second time would close the information dialog again, like it does in XBMC itself. Same goes for the context menu using C.
good point, i'll check if i can make it that way.

Jeroen Wrote:I assume it's not possible to use XBMC's media information dialogs?
if only life was that easy ;-)

Jeroen Wrote:It seems to me there is no sorting by relevance? Sometimes when I do a search the first result can seem one of the less relevant results, and more relevant results are somewhere down the list. If this could be accomplished, that would be a great addition imo.
hmmm...how would one define 'relevant'?
currently all it does is a simple matching on the search string,
and the results are ordered either alphabetically or by date added (not sure which of the two, will need to dig into json-rpc to find out).

Jeroen Wrote:Searching through plots would be nice, although I suspect this would have a severe impact on performance.
i think it'll largely depend on the size of you movielibrary most of all.

searching for a movietitle on my end (500 movies) just takes a fraction of a second, but searching for a song (10000 items) takes a few seconds.


Jeroen Wrote:BTW: there's a typo in string 32006 (Search abums) Wink

heh, that's the main reason i try to stay away from doing translations as much as possible. zelfs niet in het nederlands.

cheers for pointing out the typo, will fix :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.

Logout Mark Read Team Forum Stats Members Help
[WIP] Search script (looking for nightly build testers)0