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.
Phil, just wondering where the slideshow controls are defined now? I see there isn't a separate skin file for slideshow anymore. Thanks!
shouldnt this work?

PHP Code:
<content limit="20">plugin://script.extendedinfo?info=youtubesearchvideos&amp;&amp;id=$INFO[ListItem.Title]</content> 

Did i do a Mistake here, or is this functionality broken? (doesnt show any Content)

Every Other (non script extendend) content i load does work. It doesnt make a difference if i use "youtubesearchvideos" or "youtubeusersearchvideos". (whats the difference?)

Im on Jarvis 16, script version 4.5.3 (oficial Repository)
Nevermind... search is not my friend today! Wink
Extended info error with artists with accented characters (like Béyoncé) or with number in name (like Sum 41) with : plugin://script.extendedinfo?info=discography&amp;&amp;artistname=$INFO[ListItem.Artist] or plugin://script.extendedinfo?info=discography&amp;&amp;artistname=$INFO[ListItem.AlbumArtist]

Code:
00:24:56 T:123145562202112   DEBUG: script.extendedinfo: version 5.5.1 started
00:24:56 T:123145562202112   ERROR: /Applications/Kodi.app/Contents/Libraries/lib/python2.7/urllib.py:1299: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
00:24:56 T:123145562202112   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: (u'\xe9',)
                                            Traceback (most recent call last):
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/plugin.py", line 157, in <module>
                                                Main()
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/plugin.py", line 32, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.extendedinfo/resources/lib/process.py", line 35, in start_info_actions
                                                params["artist_mbid"] = utils.fetch_musicbrainz_id(params["artistname"])
                                              File "/Users/Cyril/Library/Application Support/Kodi/addons/script.module.kodi65/lib/kodi65/utils.py", line 392, in fetch_musicbrainz_id
                                                url = '&query=artist:%s' % urllib.quote_plus(artist)
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib.py", line 1306, in quote_plus
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib.py", line 1299, in quote
                                            KeyError: (u'\xe9',)
                                            -->End of Python script error report<--
00:24:56 T:140736312627968   DEBUG: ------ Window Init (DialogNotification.xml) ------
Well it seems it is not only special chars, For example I also get this error for a Album Artist without special Chars in the name

Code:
14:31:06 T:140397650073344   DEBUG: script.extendedinfo: version 5.5.1 started
14:31:06 T:140397650073344   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: ('artists',)
                                            Traceback (most recent call last):
                                              File "/home/kodi/.kodi/addons/script.extendedinfo-master/plugin.py", line 157, in <module>
                                                Main()
                                              File "/home/kodi/.kodi/addons/script.extendedinfo-master/plugin.py", line 32, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "/home/kodi/.kodi/addons/script.extendedinfo-master/resources/lib/process.py", line 35, in start_info_actions
                                                params["artist_mbid"] = utils.fetch_musicbrainz_id(params["artistname"])
                                              File "/home/kodi/.kodi/addons/script.module.kodi65/lib/kodi65/utils.py", line 396, in fetch_musicbrainz_id
                                                if results and len(results["artists"]) > 0:
                                            KeyError: ('artists',)
                                            -->End of Python script error report<--
14:31:06 T:140400980916608   DEBUG: ------ Window Init (DialogNotification.xml) ------
14:31:06 T:140397650073344    INFO: Python script stopped
14:31:06 T:140397650073344   DEBUG: Thread LanguageInvoker 140397650073344 terminating
14:31:06 T:140398269798144   DEBUG: CWebServer[8080]: request received for /jsonrpc
14:31:06 T:140398982850304   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=discography&&artistname=Chicago

Most of my Albums have the Artist.nfo including the Musicbrainz ID
Its a problem with the musicbrainz api. If you print the results from the json query you would see that it returns something like 'webserver busy, please try again'.
Problem with MuzicBrain API that have a special character '&' in artist name

Code:
10:20:11 T:1460660528   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: ('artists',)
                                            Traceback (most recent call last):
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/plugin.py", line 157, in <module>
                                                Main()
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/plugin.py", line 32, in __init__
                                                listitems = process.start_info_actions(info, self.params)
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 35, in start_info_actions
                                                params["artist_mbid"] = utils.fetch_musicbrainz_id(params["artistname"])
                                              File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/utils.py", line 396, in fetch_musicbrainz_id
                                                if results and len(results["artists"]) > 0:
                                            KeyError: ('artists',)
                                            -->End of Python script error report<--
Whenever I try to launch a movie from extended info script mod, It launches Exodus and ends with no stream available. Is there a fix for this?
@mattmartinolc yes, there is a solution. Don't install and use banned crappy add-ons like Exodus. No help in this forum.
(2016-07-29, 04:10)_Andy_ Wrote: [ -> ]@mattmartinolc yes, there is a solution. Don't install and use banned crappy add-ons like Exodus. No help in this forum.

ah what do you use?
(2016-07-29, 04:55)mattmartinolc Wrote: [ -> ]
(2016-07-29, 04:10)_Andy_ Wrote: [ -> ]@mattmartinolc yes, there is a solution. Don't install and use banned crappy add-ons like Exodus. No help in this forum.

ah what do you use?

http://kodi.wiki/view/Official:Forum_rul...ed_add-ons
Started getting this error -

Code:
11:16:31 256.727692 T:140218661332736   ERROR: GetDirectory - Error getting plugin://script.extendedinfo/?info=similartvshows&&dbid=375
11:16:48 273.643280 T:140217387890432   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_SHOW_CODEC'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.extendedinfo/default.py", line 8, in <module>
                                                from resources.lib import process
                                              File "/storage/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 16, in <module>
                                                import Trakt
                                              File "/storage/.kodi/addons/script.extendedinfo/resources/lib/Trakt.py", line 9, in <module>
                                                from kodi65 import addon
                                              File "/storage/.kodi/addons/script.module.kodi65/lib/kodi65/__init__.py", line 8, in <module>
                                                from actionhandler import ActionHandler
                                              File "/storage/.kodi/addons/script.module.kodi65/lib/kodi65/actionhandler.py", line 37, in <module>
                                                "codecinfo": xbmcgui.ACTION_SHOW_CODEC,
                                            AttributeError: 'module' object has no attribute 'ACTION_SHOW_CODEC'
                                            -->End of Python script error report<--
same here...
@Hitcher and @John.cord, ACTION_SHOW_CODEC, was deprecated Kodi krypton, replaced by ACTION_PLAYER_DEBUG, need fix script module kodi65 for work fine again.

Edit line 37 - script.module.kodi65\lib\kod65\actionhandler.py file
Code:
change
"codecinfo": xbmcgui.ACTION_SHOW_CODEC,
for
"codecinfo": xbmcgui.ACTION_PLAYER_DEBUG,

Don´t more error here.
Thanks. Big Grin