Kodi Community Forum
Default sources for new installation - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Feature Discussion (read-only) (https://forum.kodi.tv/forumdisplay.php?fid=183)
+--- Thread: Default sources for new installation (/showthread.php?tid=177565)

Pages: 1 2


RE: Default sources for new installation - jmarshall - 2013-11-30

The main problem there is we don't go through normal POSIX file operations without first bastardising things through the win32 API..

It might work nonetheless, but I dunno if I'd rely on it.


RE: Default sources for new installation - wsnipex - 2013-11-30

This works:
<path pathversion="1">special://home/../Videos/</path>

the question is how to handle it, if the path doesn't exist. Currently we pop a notice "path not found or invalid", maybe it would be better to to check if sources are available on startup and only show those that are there?