2012-01-17, 16:10
taxigps Wrote:Tudou no problem here. log file please. may be the problem of network, not a problem of the plugin.
Here is the error log, thanks for the help to debug.
-----
DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou
22:03:32 T:129142784 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.tudou" dependent on version 1.0 of the xbmc.python api
22:03:32 T:122617856 DEBUG: ------ Window Init (DialogBusy.xml) ------
22:03:33 T:104710144 DEBUG: WaitOnScriptResult- plugin returned successfully
22:03:33 T:129142784 INFO: Scriptresult: Success
22:03:33 T:129142784 INFO: Python script stopped
22:03:33 T:129142784 DEBUG: Thread XBPyThread 129142784 terminating
22:03:33 T:122617856 DEBUG: Saving fileitems [plugin://plugin.video.tudou/?mode=2&name=%E6%AD%A5%E6%AD%A5%E6%83%8A%E5%BF%83&url=http%3A%2F%2Fwww.tudou.com%2Falbumcover%2FUuFWnVdaH8s.html&thumb=http%3A%2F%2Fat-img2.tdimg.com%2Fboard%2Falbum%2F2011%2F09-19%2F1316426831063.jpg]
22:03:33 T:122617856 DEBUG: -- items: 35, sort method: 0, ascending: false
22:03:33 T:136417280 DEBUG: Thread Background Loader start, auto delete: 0
22:03:33 T:122617856 DEBUG: waiting for python thread 18 to stop
22:03:33 T:122617856 DEBUG: python thread 18 destructed
22:03:33 T:122617856 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
22:03:34 T:136417280 DEBUG: Thread Background Loader 136417280 terminating
22:03:35 T:122617856 DEBUG: RunScriptWithParams - calling plugin 土豆视频(Tudou)('plugin://plugin.video.tudou/','-1','?mode=3&name=%E6%AD%A5%E6%AD%A5%E6%83%8A%E5%BF%83%EF%BC%9A%E7%AC%AC1%E9%9B%86&url=99432464&thumb=http%3A%2F%2Fi1.tdimg.com%2F099%2F432%2F464%2Fp.jpg')
22:03:35 T:122617856 INFO: initializing python engine.
22:03:35 T:122617856 DEBUG: new python thread created. id=19
22:03:35 T:129142784 DEBUG: Thread XBPyThread start, auto delete: 0
22:03:35 T:129142784 DEBUG: Python thread: start processing
22:03:35 T:129142784 NOTICE: -->Python Interpreter Initialized<--
22:03:35 T:129142784 DEBUG: Process - The source file to load is /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py
22:03:35 T:129142784 DEBUG: Process - Setting the Python path to /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou:/var/mobile/Library/Preferences/XBMC/addons/script.module.xbmcswift/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.demjson/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.simplejson/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.beautifulsoup/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pil/lib:/var/mobile/Library/Preferences/XBMC/addons/script.common.plugin.cache/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.simple.downloader/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.keyboard.chinese/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.mechanize/lib:/var/mobile/Library/Preferences/XBMC/addons/script.module.parsedom/lib:/private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome/addons/script.module.pysqlite/lib:/var/stash/Applications/XBMC.frappliance/Frameworks:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python26.zip:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-darwin:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/plat-mac/lib-scriptpackages:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-tk:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-old:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/lib-dynload:/var/stash/Applications/XBMC.frappliance/Frameworks/lib/python2.6/site-packages:
22:03:35 T:129142784 DEBUG: Process - Entering source directory /var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou
22:03:35 T:129142784 DEBUG: Instantiating addon using automatically obtained id of "plugin.video.tudou" dependent on version 1.0 of the xbmc.python api
22:03:36 T:129142784 INFO: -->Python script returned the following error<--
22:03:36 T:129142784 ERROR: Error Type: <type 'exceptions.IndexError'>
22:03:36 T:129142784 ERROR: Error Contents: list index out of range
22:03:36 T:129142784 ERROR: Traceback (most recent call last):
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 323, in <module>
PlayVideo(name,url,thumb)
File "/var/mobile/Library/Preferences/XBMC/addons/plugin.video.tudou/default.py", line 200, in PlayVideo
xbmc.Player().play(match[0]+'|User-Agent='+UserAgent, listitem)
IndexError: list index out of range
22:03:36 T:129142784 INFO: -->End of Python script error report<--
22:03:37 T:129142784 INFO: Python script stopped
22:03:37 T:129142784 DEBUG: Thread XBPyThread 129142784 terminating
22:03:37 T:122617856 DEBUG: waiting for python thread 19 to stop
22:03:37 T:122617856 DEBUG: python thread 19 destructed
22:03:37 T:122617856 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
22:03:42 T:122617856 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
22:03:47 T:122617856 INFO: Python, unloading python shared library because no scripts are running anymore
22:03:47 T:122617856 INFO: CheckIdle - Closing session to http://i2.tdimg.com (easy=0x4c14000, multi=0xd4a1c50)
22:03:48 T:122617856 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-arm-osx.so)
22:03:48 T:122617856 DEBUG: Unloading: ImageLib-arm-osx.so
22:03:48 T:122617856 INFO: CheckIdle - Closing session to http://i3.tdimg.com (easy=0x4c60000, multi=0xf9e85c0)