Posts: 1,011
Joined: Sep 2011
Reputation:
20
lrusak
Team-Kodi Member
Posts: 1,011
Why do you want this in the first place? Maybe there is a better solution...
"PPC is too slow, your CPU has no balls to handle HD content." ~ Davilla
"Maybe it's a toaster. Who knows, but it has nothing to do with us." ~ Ned Scott
Posts: 411
Joined: Aug 2010
Reputation:
2
I mainly use XBMC for playing video files in this network folder and I don't want to use Library mode for these files.
Posts: 6,339
Joined: Jul 2010
Reputation:
116
artrafael
Team-XBMC Forum Moderator
Posts: 6,339
If you followed the instructions I posted in that thread you referenced in your first post above, then you should have created a Favourite for that video file source in order to get the needed info to create your autoexec.py. If so, does your networked video folder open when you select that Favourite?
Posts: 411
Joined: Aug 2010
Reputation:
2
2012-10-24, 14:01
(This post was last modified: 2012-10-24, 16:10 by AussieFries.)
Yes network folder opens when I click on the Favourite.
Please find content of my favourites.xml below.
<favourites>
<favourite name="Films">ActivateWindow(10025,"smb://PC/Films/")</favourite>
</favourites>
I should include the " as well?
Posts: 411
Joined: Aug 2010
Reputation:
2
2012-10-25, 15:12
(This post was last modified: 2012-10-25, 15:41 by AussieFries.)
I tried the above code but when I run it XBMC shows a blank 'window' and a mouse cursor (mouse is not even plugged in!)
Debug log is showing the below errors:
13:03:33 T:2768 DEBUG: XBPyThread::Process - The source file to load is C:\Users\xbmc\AppData\Roaming\XBMC\userdata\autoexec.py
13:03:34 T:836 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.common.plugin.cache;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
13:03:34 T:836 DEBUG: XBPyThread::Process - Entering source directory C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.common.plugin.cache
13:03:34 T:2768 DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\xbmc\AppData\Roaming\XBMC\userdata;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.xbmcswift\lib;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
13:03:34 T:2768 DEBUG: XBPyThread::Process - Entering source directory C:\Users\xbmc\AppData\Roaming\XBMC\userdata
13:03:34 T:836 DEBUG: Instantiating addon using automatically obtained id of "script.common.plugin.cache" dependent on version 2.0 of the xbmc.python api
13:03:34 T:836 NOTICE: StorageServer Module loaded RUN
13:03:34 T:836 NOTICE: StorageClient-1.3.0 Starting server
13:03:34 T:2768 INFO: Scriptresult: Success
13:03:34 T:836 NOTICE: StorageServer-1.3.0 Storage Server starting C:\Users\xbmc\AppData\Roaming\XBMC\userdata\Database\commoncache.db
13:03:34 T:2768 INFO: Python script stopped
13:03:34 T:2768 DEBUG: Thread XBPyThread 2768 terminating
13:03:34 T:2504 DEBUG: waiting for python thread 4 to stop
13:03:34 T:2504 DEBUG: python thread 4 destructed
13:03:34 T:2504 DEBUG: Activating window ID: 10025
13:03:34 T:2504 DEBUG: ------ Window Deinit (MyVideoNav.xml) ------
13:03:34 T:2504 DEBUG: ------ Window Init (MyVideoNav.xml) ------
13:03:34 T:2504 INFO: Loading skin file: MyVideoNav.xml
13:03:34 T:2504 DEBUG: CGUIMediaWindow::GetDirectory ("smb://PC/Films/")
13:03:34 T:2504 DEBUG: ParentPath = ["smb://PC/Films/"/]
13:03:34 T:2504 WARNING: XFILE::CFactoryDirectory::Create - Unsupported protocol("smb) in "smb://PC/Films/"
13:03:34 T:2504 ERROR: CGUIMediaWindow::GetDirectory("smb://PC/Films/") failed
13:03:38 T:2504 DEBUG: ------ Window Deinit (Pointer.xml) ------
13:04:02 T:2504 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
13:04:03 T:268 DEBUG: Thread Jobworker 268 terminating (autodelete)
Posts: 411
Joined: Aug 2010
Reputation:
2
It works for me as well!
Thank you so much!