[Release] GlobalSearch Script

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #81
PatK Wrote:Love the 'play trailers' and 'find all episodes' 0.1.6 works for me.

thanx for testing! ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #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.

[Image: sig_zps3af3b48e.jpg]
find quote
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #84
Not a problem and thanks.

[Image: sig_zps3af3b48e.jpg]
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #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.

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2011-12-08 23:38 by Hitcher.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #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'

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #87
Thanks ronie, sorry for being a nuisance.

EDIT: Running perfectly, thanks.

[Image: sig_zps3af3b48e.jpg]
(This post was last modified: 2011-12-08 23:57 by Hitcher.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,262
Joined: Jan 2009
Reputation: 108
Post: #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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,937
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #89
Cool.

[Image: sig_zps3af3b48e.jpg]
find quote
Big_Noid Offline
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #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.
(This post was last modified: 2012-01-21 14:27 by Big_Noid.)
find quote
Post Reply