Kodi Community Forum
Getting sources and files via JSON - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Getting sources and files via JSON (/showthread.php?tid=154642)



Getting sources and files via JSON - xayide - 2013-02-03

I have a script that use python filefunctions to traverse operatingsystem connected networkshares (problem is dfs on some OS like openelec and linux) although within XBMC it works. So I want to ask XBMC for sources and use that API to access/traverse the networkshares, possible?


RE: Getting sources and files via JSON - takoi - 2013-02-04

Files.GetSources will get you the media source, and the xbmcvfs python module to do file system stuff


RE: Getting sources and files via JSON - xayide - 2013-02-05

thanks I'll try that.