Kodi Community Forum
making GetDirectory platform independant - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: making GetDirectory platform independant (/showthread.php?tid=41105)



making GetDirectory platform independant - msaspence - 2008-11-26

Im trying to use the http api command getdirectory which seems to do what it says on the tin

but i want to get the contents of the web folder which is different depending on what platform Im on

can anyone suggest a way to do this
is there some way to get the actual system path to Q:\ then adding web and putting that into getdirectory?