2011-11-09, 01:11
ronie Wrote:pfff....anything else?
adding that option is 5 mins of work max ;-)
Well, you could take a look at this :-)
Code:
00:07:48 T:2904711872 DEBUG: ExecuteXBMCAction : Translating RunScript(script.watchlist)
00:07:48 T:2904711872 DEBUG: ExecuteXBMCAction : To RunScript(script.watchlist)
00:07:48 T:2904711872 INFO: initializing python engine.
00:07:48 T:2904711872 DEBUG: new python thread created. id=3
00:07:48 T:2954915840 DEBUG: Thread XBPyThread start, auto delete: 0
00:07:48 T:2954915840 DEBUG: Python thread: start processing
00:07:48 T:2954915840 NOTICE: -->Python Interpreter Initialized<--
00:07:48 T:2954915840 DEBUG: Process - The source file to load is /Users/tina/Library/Application Support/XBMC/addons/script.watchlist/default.py
00:07:48 T:2954915840 DEBUG: Process - Setting the Python path to /Users/tina/Library/Application Support/XBMC/addons/script.watchlist:/Users/tina/Library/Application Support/XBMC/addons/script.module.simplejson/lib:/Users/tina/Library/Application Support/XBMC/addons/script.module.xbmc-czech.common/lib:/Users/tina/Library/Application Support/XBMC/addons/script.module.beautifulsoup/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pil/lib:/Users/tina/Library/Application Support/XBMC/addons/script.common.plugin.cache/lib:/Users/tina/Library/Application Support/XBMC/addons/script.module.parsedom/lib:/Users/tina/Library/Application Support/XBMC/addons/script.module.elementtree/lib:/Applications/XBMC.app/Contents/Resources/XBMC/addons/script.module.pysqlite/lib:/Applications/XBMC.app/Contents/Frameworks:/Applications/XBMC.app/Contents/Frameworks/lib/python26.zip:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-darwin:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-tk:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-old:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/lib-dynload:/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/site-packages:
00:07:48 T:2954915840 DEBUG: Process - Entering source directory /Users/tina/Library/Application Support/XBMC/addons/script.watchlist
00:07:48 T:2954915840 DEBUG: Instantiating addon using automatically obtained id of "script.watchlist" dependent on version 2.0 of the xbmc.python api
00:07:48 T:2954915840 DEBUG: script.watchlist: script version 0.0.4 started
00:07:48 T:2954915840 DEBUG: script.watchlist: ### json query
00:07:48 T:2954915840 DEBUG: RunQuery took 9 ms for 123 items query: select * from movieview
00:07:49 T:2954915840 DEBUG: script.watchlist: ### load response
00:07:49 T:2954915840 DEBUG: script.watchlist: ### iterate results
00:07:49 T:2954915840 INFO: -->Python script returned the following error<--
00:07:49 T:2954915840 ERROR: Error Type: <type 'exceptions.KeyError'>
00:07:49 T:2954915840 ERROR: Error Contents: ('lastplayed',)
00:07:49 T:2954915840 ERROR: Traceback (most recent call last):
File "/Users/tina/Library/Application Support/XBMC/addons/script.watchlist/default.py", line 183, in <module>
Main()
File "/Users/tina/Library/Application Support/XBMC/addons/script.watchlist/default.py", line 18, in __init__
self._fetch_movies()
File "/Users/tina/Library/Application Support/XBMC/addons/script.watchlist/default.py", line 52, in _fetch_movies
lastplayed = item['lastplayed']
KeyError: ('lastplayed',)
00:07:49 T:2954915840 INFO: -->End of Python script error report<--
00:07:49 T:2954915840 INFO: Python script stopped
00:07:49 T:2954915840 DEBUG: Thread XBPyThread 2954915840 terminating
00:07:49 T:2904711872 DEBUG: waiting for python thread 3 to stop
00:07:49 T:2904711872 DEBUG: python thread 3 destructed
00:07:49 T:2904711872 DEBUG: ------ Window Init (DialogKaiToast.xml) ------