• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 42
Release GlobalSearch Script
#76
Jeroen Wrote:Worth a shot to see how big the performance impact will be?

sure, as long as nobody bugs me for an ETA :-)
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.
Reply
#77
Star 
Just picked up the latest version 0.1.5 from the auto install and tried it out. At first it seems like it didn't work; I used the word 'Star' and got nothing.. but after playing around I tried the word 'Eight' and got some listings, but nothing else... I could exit the script. http://pastebin.com/7YpJW8BA

I reverted to 0.1.4 using the keyword 'Star' brought Movie 52 entries, 5 TV shows and 5 Episodes.

I exited and reverted back to 0.1.5 with the identical results 'nothing' for the word 'Star' and 3 for the word 'Eight' still searching.

Pre-Edin Nov 27th compile T!4.0.3 SVN Win7/64
Reply
#78
PatK Wrote:Just picked up the latest version 0.1.5 from the auto install and tried it out. At first it seems like it didn't work; I used the word 'Star' and got nothing.. but after playing around I tried the word 'Eight' and got some listings, but nothing else... I could exit the script. http://pastebin.com/7YpJW8BA

thanx, the script crashes a few times.
i'll look into it and fix asap :-)
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.
Reply
#79
please test v0.1.6 and let me know if there's any issues:
script.globalsearch-0.1.6.zip
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.
Reply
#80
Star 
Love the 'play trailers' and 'find all episodes' 0.1.6 works for me.
Reply
#81
PatK Wrote:Love the 'play trailers' and 'find all episodes' 0.1.6 works for me.

thanx for testing! ;-)
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.
Reply
#82
Hi ronie, I'm currently integrating this into XeeBo but in order to keep look of the skin the same I'd to display the total number of returned items (as opposed to each individual category), would you consider adding this at some point in time please?

Thanks.
Reply
#83
Hitcher Wrote:Hi ronie, I'm currently integrating this into XeeBo but in order to keep look of the skin the same I'd to display the total number of returned items (as opposed to each individual category), would you consider adding this at some point in time please?

Thanks.

if 'some point in time' can be 'after eden', then sure i'll add it. :-)

i'm currently wrapping up all the scripts i maintain for eden,
so my main focus will be bug fixing for now.
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.
Reply
#84
Not a problem and thanks.
Reply
#85
Just found a weird problem when using resolution images.

Using

<texture>$INFO[ListItem.VideoResolution,flagging/resolution/,.png]</texture>

for my normal video lists my HD flags (720.png / 1080.png) show correctly for HD videos but using

<texture>$INFO[ListItem.Property(VideoResolution),flagging/resolution/,.png]</texture>

in the script some of them display as SD (480.png / 540.png / 576.png).



EDIT: I think I've found out why -

XBMC returns 720 for videos that are actually 540p high but the script doesn't.
Reply
#86
Hitcher Wrote:Just found a weird problem when using resolution images.

Using

<texture>$INFO[ListItem.VideoResolution,flagging/resolution/,.png]</texture>

for my normal video lists my HD flags (720.png / 1080.png) show correctly for HD videos but using

<texture>$INFO[ListItem.Property(VideoResolution),flagging/resolution/,.png]</texture>

in the script some of them display as SD (480.png / 540.png / 576.png).



EDIT: I think I've found out why -

XBMC returns 720 for videos that are actually 540p high but the script doesn't.

script now uses the same logic as xbmc for detecting video resolution:
script.globalsearch-0.1.7.zip

which is:
Code:
if videowidth <= 720 and videoheight <= 480:
    videoresolution = '480'
elif videowidth <= 768 and videoheight <= 576:
    videoresolution = '576'
elif videowidth <= 960 and videoheight <= 544:
    videoresolution = '540'
elif videowidth <= 1280 and videoheight <= 720:
    videoresolution = '720'
else:
    videoresolution = '1080'
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.
Reply
#87
Thanks ronie, sorry for being a nuisance.

EDIT: Running perfectly, thanks.
Reply
#88
Hitcher Wrote:Thanks ronie, sorry for being a nuisance.

np, it was an easy fix.
and frankly, i thought i was already mimicking xbmc, but apparently not.
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.
Reply
#89
Cool.
Reply
#90
I'm trying to load an external image using this code:
Code:
<texture>$INFO[Container(141).ListItem.Property(Path),,../poster.jpg]</texture>

While this normally works, when using this script it ignores the ../ part as going up one folder:
Code:
DEBUG: CTextureCache::GetImageHash - unable to stat url smb://192.168.50.150/HD1/Series/The Big Bang Theory/Season 4/filename.mkv../poster.jpg


Is this a fault in the script or a bug in the way XBMC handles the infolabels from the script?

EDIT: I get it, the path is probably handed over by json as one string, so this is not possible.
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 42

Logout Mark Read Team Forum Stats Members Help
GlobalSearch Script1