Kodi Community Forum
Having trouble with Skin.SetPath(string[,value]) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Having trouble with Skin.SetPath(string[,value]) (/showthread.php?tid=75000)



Having trouble with Skin.SetPath(string[,value]) - Hitcher - 2010-06-02

How exactly do you define your own path (value) in the Skin.SetPath(string[,value]) control?

I've tried various ways but can't get any to work.

Skin.SetPath(CustomMoviesFolder[,backdrops/movies])
Skin.SetPath(CustomMoviesFolder[,media/backdrops/movies])

Thanks.


- Jezz_X - 2010-06-02

you don't need the [] in the wiki that just means its optional in this case you don't need ,value bit


- Hitcher - 2010-06-03

Doh, thanks Jezz.


- Jezz_X - 2010-06-03

btw you should be using special://skin/media or special://xbmc/media depending on which one you mean because not everyone will find the right path