2010-12-09, 22:19
Eldorado Wrote:Hmm.. I might assume that since you use the os.listdir() function, it is detecting I am using Windows so then of course it tries to get a *.* from my Samba share, which (unless someone corrects me, can't find anything on google) *.* is not validYes, that is exactly why we have a problem with the os.listdir() function. It detect that you are under Windows but you want to list your POSIX directory using *.*. I have to found the way first to detect the directory path format you want to scan (maybe there is a python function for that) and then select the right way to scan the directory. The second problem will be to found the right python command line to start the windows emulators with samba paths having white spaces.
Perhaps - if you are inclined to put any time into this - you need a check which converts samba URI strings into windows network strings, when on Windows machines
Though chances of many others having the same situation as mine is probably low
But I wonder how XBMC is handling it for the libraries?
Thanks for the troubleshooting help!