Kodi Community Forum

Full Version: script.toolbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11
(2014-11-11, 21:18)Hitcher Wrote: [ -> ]$ESCINFO works for me with close brackets.

Only problem I have now is this error on my Fire TV -

Code:
No module named PIL

which seems to be this -

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

Must have been an editing error on my part. $ESCINFO works fine.... sorry.
(2014-11-11, 20:13)phil65 Wrote: [ -> ]right. Then use '$ESCINFO[]' (including quotation marks). (will add some lines to the script to filter out those quotation marks then)
(2014-11-11, 21:28)phil65 Wrote: [ -> ]
(2014-11-11, 21:18)Hitcher Wrote: [ -> ]$ESCINFO works for me with close brackets.

Only problem I have now is this error on my Fire TV -

Code:
No module named PIL

which seems to be this -

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

correct. will add exception handling for that error so that the script works on android (except image effects for now though)

Friendly bump. Wink
(2014-11-14, 17:48)Hitcher Wrote: [ -> ]
(2014-11-11, 20:13)phil65 Wrote: [ -> ]right. Then use '$ESCINFO[]' (including quotation marks). (will add some lines to the script to filter out those quotation marks then)
(2014-11-11, 21:28)phil65 Wrote: [ -> ]
(2014-11-11, 21:18)Hitcher Wrote: [ -> ]$ESCINFO works for me with close brackets.

Only problem I have now is this error on my Fire TV -

Code:
No module named PIL

which seems to be this -

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

correct. will add exception handling for that error so that the script works on android (except image effects for now though)

Friendly bump. Wink

Should work now.
Thanks but now it's getting this error.

Code:
-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'log' is not defined
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.toolbox/default.py", line 18, in <module>
from Utils import *
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.toolbox/resources/lib/Utils.py", line 14, in <module>
log("No PIL available")
NameError: name 'log' is not defined
-->End of Python script error report<--
ok, sorry, didnt test before. try again.
Different one. Wink

Code:
-->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.NameError'>
Error Contents: name 'ImageFilter' is not defined
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.toolbox/default.py", line 18, in <module>
from Utils import *
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.toolbox/resources/lib/Utils.py", line 553, in <module>
class MyGaussianBlur(ImageFilter.Filter):
NameError: name 'ImageFilter' is not defined
-->End of Python script error report<--
ok, will have to restructure stuff a bit then first.
No worries, thanks.
try again.
Perfect, many thanks.
Phil, I know you're busy with the extended info script but I wondered whether it's possible to add the ability to open the video info dialog with this script?

ie

PHP Code:
<onclick>RunScript(script.toolbox,info=dialogvideoinfo,dbid=$INFO[ListItem.DBID])</onclick

Many thanks.
(2015-01-14, 14:59)Hitcher Wrote: [ -> ]Phil, I know you're busy with the extended info script but I wondered whether it's possible to add the ability to open the video info dialog with this script?

ie

PHP Code:
<onclick>RunScript(script.toolbox,info=dialogvideoinfo,dbid=$INFO[ListItem.DBID])</onclick

Many thanks.

Nope not possible, but you can open extendedinfo infodialog with RunScript(script.extendedinfo,info=extendedinfo,dbid=$INFO[ListItem.DBID]) for example.
Just got into looking into this. Really useful stuff, this will allow me to drop several custom windows. Any estimate on how far we are from availability on the Kodi repo?
(2015-01-14, 15:29)Jeroen Wrote: [ -> ]Just got into looking into this. Really useful stuff, this will allow me to drop several custom windows. Any estimate on how far we are from availability on the Kodi repo?

several weeks because I will be out for two weeks because of holidays beginning next monday.
(2015-01-14, 15:47)phil65 Wrote: [ -> ]
(2015-01-14, 15:29)Jeroen Wrote: [ -> ]Just got into looking into this. Really useful stuff, this will allow me to drop several custom windows. Any estimate on how far we are from availability on the Kodi repo?

several weeks because I will be out for two weeks because of holidays beginning next monday.

Great, enjoy your holiday Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11