Kodi Community Forum

Full Version: script.extendedinfo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
thx, fixed.
and a small request @ all: please be cautious with adding all those calls and don´t fire more API calls than needed. I don´t want my API keys to get banned Wink
(doesn´t count for googlemaps, their API doesn´t need a key)
The script fails with your last updates (don't know which commit causes it). Log -> http://xbmclogs.com/show.php?id=13497

I can also post a full log if you need more info.
Same here, even tried downloading the very latest version from Github, but the script keeps crashing. Always happens when I enter the Genre section. Here's the log (it was too large for xbmclogs), I think the error is mentioned on these lines here.

EDIT: It must have a commit before this one, because it worked fine for me up until then. I know it doesn't narrow it down a lot, sorry...
delete the cache. (addon_data/script.extendedinfo/...)

EDIT: you´re right, something broke. will take a look.
nice script!

but I found that if I keep focus on a movieSet and XBMC enters Screensaver, on Screensaver exit the addon's infolabels are all empty...

Sad
the errors should be fixed now. again, please delete cache, i changed something in that aspect.
please report if it works.
Working, thanks.
Yes, works fine now. Thank you phil.
Phil, great job.
Do you have idea to make the script work in Gotham?
(2013-04-22, 22:07)`Black Wrote: [ -> ]Working, thanks.

While it's working most of the time, the same error still occurs with trending shows:

PHP Code:
Error Type: <type 'exceptions.TypeError'>
Error Contentsstring indices must be integers
Traceback 
(most recent call last):
File "/Users/Black/Library/Application Support/XBMC/addons/script.extendedinfo/default.py"line 786in <module>
Main()
File "/Users/Black/Library/Application Support/XBMC/addons/script.extendedinfo/default.py"line 32in __init__
self
._StartInfoActions()
File "/Users/Black/Library/Application Support/XBMC/addons/script.extendedinfo/default.py"line 240in _StartInfoActions
passDataToSkin
('TrendingShows'GetTrendingShows(), self.prop_prefix)
File "/Users/Black/Library/Application Support/XBMC/addons/script.extendedinfo/MiscScraper.py"line 274in GetTrendingShows
return HandleTraktTVShowResult(results)
File "/Users/Black/Library/Application Support/XBMC/addons/script.extendedinfo/MiscScraper.py"line 240in HandleTraktTVShowResult
premiered 
str(datetime.datetime.fromtimestamp(int(tvshow["first_aired"])))[:10]
TypeErrorstring indices must be integers
-->End of Python script error report<-- 
yeah give me one or two weeks to get things ready. the script is getting to a size where i have to re-manage some stuff.
i wouldn´t include any of the script features in a skin for official repository yet, wait till i send it to the repo.
ok the script is stable again i think. bug reports are welcome.
Using the NearEvents ie with RunScript(script.extendedinfo,info=NearEvents) the returned events are in the past and the times of the events (ie the Date attribute) is incorrect. To confirm the behaviour I tried it in Aeon Nox 4.1.9 using the most recent version of this script but still get the same result (note events are from 23 May, where the date when tried is 24th May also note the time of event for example the first item shows 14:47.01):

Image

Is this a problem with the script or maybe there is a way to call it with todays date?
I´m caching results (in that case 24 hours i think) to reduce JSON calls.
Hi Phil.

Is it normal that when using your script to find concert near to my place, I have concert for the entire country ?

Before, with ExtraMusicInfo, concerts were only around me.

Thanks.