2013-08-29, 14:49
Ok, I did research this and found out I was trying to execute the addon as a script and that was my problem.. so I did a test and it worked:
I changed it to
and it worked.. but then I needed it to run as a service and now it is giving me:
yet again. any ideas?
EDIT:::
I just was messing around with it and I found out that when I go to video addons and click my addon it works. but I need to be able to call Categories() on PlaybackEnded
I changed it to
Code:
<extension point="xbmc.python.pluginsource" library="default.py">
and it worked.. but then I needed it to run as a service and now it is giving me:
Code:
08:42:07 T:5532 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "C:\Users\default.py", line 46, in <module>
params=get_params()
File "C:\Users\default.py", line 10, in get_params
paramstring=sys.argv[2]
IndexError: list index out of range
-->End of Python script error report<--
yet again. any ideas?
EDIT:::
I just was messing around with it and I found out that when I go to video addons and click my addon it works. but I need to be able to call Categories() on PlaybackEnded