2011-07-05, 16:23
I cannot get the randomalbums to display. Is this a fault of the script or has anybody got it working. In the log it seems to only load the query from songsview, not albumview:
Code:
16:22:27 T:5032 M:1709252608 DEBUG: CApplication::ExecuteXBMCAction : Translating XBMC.RunScript(script.randomitems,limit=8&unplayed=True)
16:22:27 T:5032 M:1709252608 DEBUG: CApplication::ExecuteXBMCAction : To XBMC.RunScript(script.randomitems,limit=8&unplayed=True)
16:22:27 T:5032 M:1709252608 INFO: initializing python engine.
16:22:27 T:5032 M:1709252608 DEBUG: new python thread created. id=24
16:22:27 T:4676 M:1709248512 DEBUG: Thread XBPyThread start, auto delete: 0
16:22:27 T:4676 M:1709248512 DEBUG: Python thread: start processing
16:22:27 T:4676 M:1708908544 NOTICE: -->Python Interpreter Initialized<--
16:22:27 T:4676 M:1708908544 DEBUG: XBPyThread::Process - The source file to load is C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.randomitems\RandomItems.py
16:22:27 T:4676 M:1708908544 DEBUG: XBPyThread::Process - Setting the Python path to C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.randomitems;C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC_SVN\addons\script.module.pil\lib;C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC_SVN\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC_SVN\system\python\DLLs;C:\Program Files (x86)\XBMC_SVN\system\python\Lib;C:\Program Files (x86)\XBMC_SVN\python26.zip;C:\Program Files (x86)\XBMC_SVN\system\python\lib\plat-win;C:\Program Files (x86)\XBMC_SVN\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC_SVN;C:\Program Files (x86)\XBMC_SVN\system\python;C:\Program Files (x86)\XBMC_SVN\system\python\lib\site-packages;
16:22:27 T:4676 M:1708908544 DEBUG: XBPyThread::Process - Entering source directory C:\Program Files (x86)\XBMC_SVN\portable_data\addons\script.randomitems
16:22:27 T:4676 M:1708908544 DEBUG: Instantiating addon using automatically obtained id of "script.randomitems" dependent on version 2.0 of the xbmc.python api
16:22:27 T:4676 M:1707261952 DEBUG: CVideoDatabase::RunQuery took 16 ms for 265 items query: select * from movieview
16:22:27 T:4676 M:1705832448 DEBUG: CVideoDatabase::RunQuery took 8 ms for 424 items query: select * from episodeview
16:22:29 T:4676 M:1706098688 WARNING: JSONRPC: Value does not match any of the enum values in type
16:22:29 T:4676 M:1706098688 WARNING: JSONRPC: Array element at index 0 does not match in type fields
16:22:29 T:4676 M:1706082304 DEBUG: CMusicDatabase::GetSongsByWhere query = select * from songview
16:22:29 T:4676 M:1697878016 DEBUG: CMusicDatabase::GetSongsByWhere() - took 206 ms
16:22:30 T:4676 M:1691709440 INFO: Scriptresult: Success
16:22:30 T:4676 M:1691709440 INFO: Python script stopped
16:22:30 T:4676 M:1691709440 DEBUG: Thread Python Thread 4676 terminating
16:22:30 T:5032 M:1691414528 DEBUG: waiting for python thread 24 to stop
16:22:30 T:5032 M:1691398144 DEBUG: python thread 24 destructed
16:22:30 T:5032 M:1691385856 DEBUG: CWinEventsWin32::WndProcWindow is active