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.
(2016-07-31, 23:48)Wanilton Wrote: [ -> ]@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.


Wanted to add my Thanks as well for this fix.

any chance the fix will get pushed to the repo?

I noticed 17 alpha 3 just dropped on the mirrors and obviously that's when I encountered this error and thankfully an easy fix but I can imagine soon that forum will see lots of new posts from folks who can't (or won't) search before posting the same Question (well most likely a complaint) over and over again.

Cheers all and Kudos to the Kodi Team for getting to the Alpha 3 milestone!

M
I'm sure Phil will update it as soon as he's available.
(2016-07-31, 23:48)Wanilton Wrote: [ -> ]@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.

For me, "script.module.actionhandler/lib/ActionHandler.py" is also need be modified.
And codecinfo should be replaced with playerdebug
(2016-07-31, 23:48)Wanilton Wrote: [ -> ]@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.
Cheers!

Sent from my SM-G935W8
(2016-08-01, 11:16)BigNoid Wrote: [ -> ]And codecinfo should be replaced with playerdebug

So change this -

Code:
"codecinfo": xbmcgui.ACTION_SHOW_CODEC,

to this -

Code:
"playerdebug": xbmcgui.ACTION_PLAYER_DEBUG,

?
correct.
I'm running Jarvis and extendedinfo loads up slowly when I press the "i" on a movie I haven't before

I remember it used to run through and cache everything on previous versions of kodi.

Any idea how I can set that up or is it an issue?
If anyone needs the xbmcgui.ACTION_PLAYER_DEBUG-fixes in order to make script.extendedinfo work again and doesn't want to make the code changes themselves:

I put updated versions of
- script.module.actionhandler
- script.module.kodi65
in my KODI 17 (Krypton) repo. Once phil65 bumps his version, it will override mine.

Repo download: https://github.com/axbmcuser/_repo/raw/m...mcuser.zip
I have do pull request for changes this.
(2016-08-05, 17:14)axbmcuser Wrote: [ -> ]If anyone needs the xbmcgui.ACTION_PLAYER_DEBUG-fixes in order to make script.extendedinfo work again and doesn't want to make the code changes themselves:

I put updated versions of
- script.module.actionhandler
- script.module.kodi65
in my KODI 17 (Krypton) repo. Once phil65 bumps his version, it will override mine.

Repo download: https://github.com/axbmcuser/_repo/raw/m...mcuser.zip

after replacing this 2 modules by yours here is my log :
Quote:09:21:09 T:3244 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_PLAYER_DEBUG'
Traceback (most recent call last):
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.extendedinfo\plugin.py", line 12, in <module>
from resources.lib import process
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\process.py", line 16, in <module>
import Trakt
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.extendedinfo\resources\lib\Trakt.py", line 9, in <module>
from kodi65 import addon
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.module.kodi65\lib\kodi65\__init__.py", line 8, in <module>
from actionhandler import ActionHandler
File "C:\Users\HTPC\AppData\Roaming\Kodi\addons\script.module.kodi65\lib\kodi65\actionhandler.py", line 37, in <module>
"playerdebug": xbmcgui.ACTION_PLAYER_DEBUG,
AttributeError: 'module' object has no attribute 'ACTION_PLAYER_DEBUG'
-->End of Python script error

using Krypton Alpha 3
any help ?
thanks
Got "No module named PIL.Image" error with the latest nightly build

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
           - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
          Error Type: <type 'exceptions.ImportError'>
          Error Contents: No module named PIL.Image
          Traceback (most recent call last):
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 63, in <module>
              Main()
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 37, in __init__
              listitems = process.start_info_actions(info, self.params)
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 281, in start_info_actions
              start_info_actions("extendedinfo", params)
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 348, in start_info_actions
              name=params.get("name"))
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/WindowManager.py", line 58, in open_movie_info
              from dialogs.DialogMovieInfo import DialogMovieInfo
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/dialogs/DialogMovieInfo.py", line 16, in <module>
              from kodi65 import imagetools
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/imagetools.py", line 9, in <module>
              import PIL.Image
          ImportError: No module named PIL.Image
          -->End of Python script error report<--
(2016-08-08, 06:44)xodiuser Wrote: [ -> ]Got "No module named PIL.Image" error with the latest nightly build

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
           - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
          Error Type: <type 'exceptions.ImportError'>
          Error Contents: No module named PIL.Image
          Traceback (most recent call last):
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 63, in <module>
              Main()
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/default.py", line 37, in __init__
              listitems = process.start_info_actions(info, self.params)
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 281, in start_info_actions
              start_info_actions("extendedinfo", params)
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/process.py", line 348, in start_info_actions
              name=params.get("name"))
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/WindowManager.py", line 58, in open_movie_info
              from dialogs.DialogMovieInfo import DialogMovieInfo
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.extendedinfo/resources/lib/dialogs/DialogMovieInfo.py", line 16, in <module>
              from kodi65 import imagetools
            File "/storage/sdcard1/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.kodi65/lib/kodi65/imagetools.py", line 9, in <module>
              import PIL.Image
          ImportError: No module named PIL.Image
          -->End of Python script error report<--

Anyone got any ideas how to fix this? I noticed the android nightly file size dropped from 68M to 52M on the 2 latest builds that this error started on. Maybe something that was needed was taken out?
@phil65 - sir, is it possible that your script can grab critics' reviews for movies from review aggregator sites like rotten tomatoes or metacritic so that the reviews can be read on Kodi itself..

Image
@ telexxingou

Why did you use the fixed versions? Alpha 3 is not new and may not contain the changes why there would be a reason to use the fixed version.
Use a newer Krypton nightly. The fixed versions in my repo are for users which use up2date nightlies of KODI krypton.