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.
If you want to use that at other places then you would have to use script.toolbox with
RunScript(script.toolbox,info=blur,id=some_image_path)
that will give you the home window properties "ImageFilter" (blurred image) and "ImageColor" (main image color)
okay thx i tried it so :


$INFO[Window(home).Property(ImageColor)]


and the onload, in myvideonav :

<onload>RunScript(script.toolbox,info=blur,id=buttons/roundedbutton-focus.png)</onload>


but thats wrong Undecided
debug log (wiki)? and please continue in the correct thread.
Hi Phil,

Little request, is it possible to grab the 'Known For' data for actors from IMDB? I currently fake it by using the first 3 movies they star in but this isn't really what they're know for.

Image

Thanks.
no, sorry, I won't do that.
No worries. Wink

Here's an odd bug I found and I don't know if it's Kodi related or not.

In my script-ExtendedInfo Script-DialogVideoInfo.xml I have a textbox that you open to view the complete plot if it doesn't fit on the main screen.

Image

Image

Now I have the onback action to set focus back to the button that opens it but for some reason it just closes the whole dialog.

The weird thing is I have the same system in the DialogVideoInfo.xml and that sets the focus back to the 'more' button.

Thanks.
Hard to say without being able to have a look at the actual code.
This is the scrollbar code.

PHP Code:
            <!-- Scrollbar -->
            <
control id="4000" type="scrollbar">
                <
left>1394</left>
                <
centertop>50%</centertop>
                <
width>8</width>
                <
height>446</height>
                <
onup>noop</onup>
                <
ondown>noop</ondown>
                <
onleft>3002</onleft>
                <
onright>3002</onright>
                <
onback>3002</onback>
                <
showonepage>false</showonepage>
                <
orientation>vertical</orientation>
                <
visible allowhiddenfocus="true">Control.HasFocus(4000)</visible>
                <
texturesliderbarfocus border="3">common/Scrollbar.png</texturesliderbarfocus>
                <
animation condition="System.IdleTime(1)" effect="fade" end="0" start="100" time="200">Conditional</animation>
            </
control
Complete code, not just some snippets. (you can do via PM if you dont want to post here)
thx, will take a look when i find the time.
API CHANGE:

starting with next version (2.1.0) you will have to use imdb_id instead of imdbid for script call parameters.
@Hitcher if you use button id 132 for the plot button then it should automatically use DialogTextViewer.xml including correct behaviour for "back".
Thanks, I'll check it out.
Hi Phil,

I am using Hitcher's new fTV skin (+ Kodi Isengard Beta 1). Since I use it I am getting an error notification "Extended Scriptinfo Error". The log shows the following message:

Code:
16:35:01 T:4632   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('result',)
                                            Traceback (most recent call last):
                                              File "C:\Users\Branphma\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 62, in <module>
                                                Main()
                                              File "C:\Users\Branphma\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 26, in __init__
                                                StartInfoActions(self.infos, self.params)
                                              File "C:\Users\Branphma\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\​​process.py", line 121, in StartInfoActions
                                                movie_id = GetImdbIDFromDatabase("movie", dbid)
                                              File "C:\Users\Branphma\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\​​local_db.py", line 322, in GetImdbIDFromDatabase
                                                if "moviedetails" in json_response["result"]:
                                            KeyError: ('result',)
                                            -->End of Python script error report<--
16:35:01 T:5844   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.extendedinfo/?info=similarmovies&&dbid=19661

This does always happen, when I open episode information and also sometimes when I open tv show information. Additionally it only occurs with the fTV skin. However Hitcher recommended to contact you for this matter. Any thoughts on that problem? Do you need more info?

Best regards