2017-12-04, 11:01
(2017-12-04, 10:55)bisao82 Wrote:Mistake from my side, sorry, It works fine(2012-04-26, 04:00)robweber Wrote:Hi, I followed your instruction and now I have the version 1.1.0. without error opening Kodi.(2012-04-26, 03:36)paddycarey Wrote: I took a quick stab at writing something to solve the walk problem and i came up with this https://github.com/paddycarey/script.mod...kit/vfs.py
it's still rough round the edges but i'll fix it up as best i can
if you just drop it in your addon for now (until i get the module shipshape), do a:
Code:import vfs as xbmcvfs
and you should now have all the functionality of xbmcvfs plus a walk and listdir method which should work on local or remote shares
That is really great - thank you for taking this on! Am I understanding the comparepathlists() function correctly? The way it looks to me is that by giving it two paths, say C:\xbmc\userdata\ and nfs:\\192.168.1.102\foo\xbmc\userdata it will return the common directory of "xbmc\userdata". Is that right?
I was working on the code snippet you gave me but this is much better than the one or two functions I would have done. I like the idea of making it a comprehensive module for extending xbmcvfs. I should get around to integrating this with the backup addon within a day or two. I'm watching your repo so as you improve it I can keep up.
I'm able to do a backup but when I try to restore the system can't see any backup.
In the folder I set I can see the backup created.
C:\Downloads\kodi\201712040951
both addons and userdata folders.