2013-03-26, 16:09
^^jep that should do it
12:54:58 T:3376 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unexpected indent', ('C:\\Users\\Marcos\\AppData\\Roaming\\XBMC\\addons\\script.randomandlastitems\\randomandlastitems.py', 367, 4, '\t\t\t\tprint("##### SONGS=", _json_pl_response)\n'))
IndentationError: ('unexpected indent', ('C:\\Users\\Marcos\\AppData\\Roaming\\XBMC\\addons\\script.randomandlastitems\\randomandlastitems.py', 367, 4, '\t\t\t\tprint("##### SONGS=", _json_pl_response)\n'))
-->End of Python script error report<--
13:06:06 T:5132 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndentationError'>
Error Contents: ('unindent does not match any outer indentation level', ('C:\\Users\\Marcos\\AppData\\Roaming\\XBMC\\addons\\script.randomandlastitems\\randomandlastitems.py', 370, 70, " _albumpath = os.path.split(_result[0]['file'])[0]\n"))
IndentationError: ('unindent does not match any outer indentation level', ('C:\\Users\\Marcos\\AppData\\Roaming\\XBMC\\addons\\script.randomandlastitems\\randomandlastitems.py', 370, 70, "_albumpath = os.path.split(_result[0]['file'])[0]\n"))
-->End of Python script error report<--
Error Type: <type 'exceptions.ValueError'>
Error Contents: invalid literal for int() with base 10: 'None'
Traceback (most recent call last):
File "C:\Users\Marcos\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 692, in <module>
_parse_argv()
File "C:\Users\Marcos\AppData\Roaming\XBMC\addons\script.randomandlastitems\randomandlastitems.py", line 581, in _parse_argv
xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "albumid": %d } }, "id": 1 }' % int(params.get("albumid")))
ValueError: invalid literal for int() with base 10: 'None'
-->End of Python script error report<--
play = 'XBMC.RunScript(' + __addonid__ + ',albumid=' + str(_album.get('albumid')) + ')'
path = 'musicdb://3/' + str(_album.get('albumidid')) + '/'