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.
Hi.
I have been searching for a while, but I cannot determine if there is a way to display a movie's director picture using this script?

The director appears in the "Crew" section of the script VideoInfo dialog, but is it possible to display it separately in another window?

Thank you in advance.
You can put the crew list where you want and use visible condition for the Listitem.label to check if its the director...
Just a tought, im not sure.
(2015-08-12, 23:00)pbureau Wrote: [ -> ]Hi.
I have been searching for a while, but I cannot determine if there is a way to display a movie's director picture using this script?

The director appears in the "Crew" section of the script VideoInfo dialog, but is it possible to display it separately in another window?

Thank you in advance.

No, not supported atm.
(2015-08-12, 02:25)Angelinas Wrote: [ -> ]@phil65

I create new layout for skinAeonMQ6,use your Script for "Movie Gallery",problem is that I use 8 different content at the same time.For 9 Poster.
What code to use to Poster 1st from left side be same content as 1 from right side,all of poster from one content. Wink
simular like this
Code:
$INFO[ListItem(-2).Art(poster)], or $INFO[Property.ListItem(1).Art(poster)] , or $INFO[Container(510).ListItem(2).Art(poster)]


Is it posible ?


Tnx Smile

Not sure if I understand correctly, but from the three infolabels you posted the third one looks correct.
@phil65, this commit merged today in master, broken script, check please when possible,

https://github.com/xbmc/xbmc/pull/7793

Thanks
(2015-08-13, 22:43)Wanilton Wrote: [ -> ]@phil65, this commit merged today in master, broken script, check please when possible,

https://github.com/xbmc/xbmc/pull/7793

Thanks

fixed.
when I do a manual search for subtitle, and try to use the autocomplete function that I integrate with dialogkeyboard, I get script error.
http://pastebin.com/mKrGYCwF
this is the last log lines ^

this is full debug log:
http://xbmclogs.com/pui8o4k33#line-3428
Is it possible to get the imdb or themoviedb rating for listitem not in the database in the file script-ExtendedInfo Script-DialogInfo.xml? I have tried every infolabel i can come up with without success. ListItem.Property(Rating) works for movies in the database but not for movies not in the database.

/Marcus
(2015-08-15, 13:04)tomer953 Wrote: [ -> ]when I do a manual search for subtitle, and try to use the autocomplete function that I integrate with dialogkeyboard, I get script error.
http://pastebin.com/mKrGYCwF
this is the last log lines ^

this is full debug log:
http://xbmclogs.com/pui8o4k33#line-3428

One more thing,
Any way to ignore the autocomplete when the dialog is password type?
(When ***** shows instead of the real text). Its not very good to use auto complete for passwords...
Hi Phil65 and thanks for this script , im using Mad Nox skin and i cant see the plot at all , i tried all the setting but only in different skins i can see the plot for movies and tv shows.
I tried changing the font of the skin but nothing works, can you please check it ?
Getting error with latest Jarvis nightly:

Code:
09:09:54 T:1908   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'ACTION_OSD_SHOW_LEFT'
                                            Traceback (most recent call last):
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 45, in <module>
                                                Main()
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\default.py", line 19, in __init__
                                                start_info_actions(self.infos, self.params)
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 371, in start_info_actions
                                                name=params.get("name", ""))
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\WindowManager.py", line 161, in open_actor_info
                                                from dialogs import DialogActorInfo
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\dialogs\DialogActorInfo.py", line 10, in <module>
                                                from DialogBaseInfo import DialogBaseInfo
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\dialogs\DialogBaseInfo.py", line 11, in <module>
                                                from ..OnClickHandler import OnClickHandler
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\OnClickHandler.py", line 84, in <module>
                                                "osdleft": xbmcgui.ACTION_OSD_SHOW_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_OSD_SHOW_LEFT'
                                            -->End of Python script error report<--
09:10:12 T:5592   ERROR: dll_fgets emulated function failed
09:10:28 T:2324  NOTICE: Thread LanguageInvoker start, auto delete: false
09:10:28 T:6136  NOTICE: Previous line repeats 1 times.
09:10:28 T:6136  NOTICE: -->Python Interpreter Initialized<--
09:10:28 T:2324  NOTICE: Previous line repeats 1 times.
09:10:28 T:2324  NOTICE: version 3.0.1 started
09:10:29 T:2324  NOTICE: finished
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=183
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=10
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=68724
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=75612
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=19995
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=13475
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=2103
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=8656
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=99
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=568
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=957
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=679
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=1892
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=1891
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=204
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=193
09:10:29 T:5592 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&dbid=202
09:10:29 T:5840 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=698
09:10:29 T:5840 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=40430
09:10:29 T:4072 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://script.extendedinfo/?info=extendedinfo&&id=62
09:10:35 T:5484  NOTICE: Thread LanguageInvoker start, auto delete: false
09:10:35 T:5484  NOTICE: -->Python Interpreter Initialized<--
09:10:35 T:5484  NOTICE: version 3.0.1 started
09:10:35 T:264   ERROR: PlayMedia could not play media: plugin://script.extendedinfo/?info=extendedinfo&&dbid=183
09:10:35 T:5484   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.AttributeError'>
                                            Error Contents: 'module' object has no attribute 'ACTION_OSD_SHOW_LEFT'
                                            Traceback (most recent call last):
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 91, in <module>
                                                Main()
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
                                                start_info_actions(self.infos, self.params)
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 365, in start_info_actions
                                                name=params.get("name", ""))
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\WindowManager.py", line 68, in open_movie_info
                                                from dialogs import DialogVideoInfo
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\dialogs\DialogVideoInfo.py", line 13, in <module>
                                                from DialogBaseInfo import DialogBaseInfo
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\dialogs\DialogBaseInfo.py", line 11, in <module>
                                                from ..OnClickHandler import OnClickHandler
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\OnClickHandler.py", line 84, in <module>
                                                "osdleft": xbmcgui.ACTION_OSD_SHOW_LEFT,
                                            AttributeError: 'module' object has no attribute 'ACTION_OSD_SHOW_LEFT'
                                            -->End of Python script error report<--
hypedartists error, integer not str.

Code:
04:04:12 T:5660   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: list indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 91, in <module>
                                                Main()
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
                                                start_info_actions(self.infos, self.params)
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 68, in start_info_actions
                                                data = get_hyped_artists(), "HypedArtists"
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 155, in get_hyped_artists
                                                return handle_lastfm_artists(results['artists'])
                                            TypeError: list indices must be integers, not str
                                            -->End of Python script error report<--
Only need get in git update version.
(2015-08-22, 05:08)badaas Wrote: [ -> ]hypedartists error, integer not str.

Code:
04:04:12 T:5660   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: list indices must be integers, not str
                                            Traceback (most recent call last):
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 91, in <module>
                                                Main()
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 21, in __init__
                                                start_info_actions(self.infos, self.params)
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 68, in start_info_actions
                                                data = get_hyped_artists(), "HypedArtists"
                                              File "C:\Users\danrach\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\LastFM.py", line 155, in get_hyped_artists
                                                return handle_lastfm_artists(results['artists'])
                                            TypeError: list indices must be integers, not str
                                            -->End of Python script error report<--
Complete log please
https://www.dropbox.com/s/velojlp53gfco6...g.zip?dl=0

ACTION_OSD_SHOW_LEFT

similar error from clicking on info button for extended info, normally works fine.
latest jarvis nightly
emby server plugin