Having trouble with Skin.SetPath(string[,value])

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hitcher Offline
Skilled Skinner
Posts: 11,075
Joined: Aug 2007
Reputation: 103
Location: Eastleigh, UK
Post: #1
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.
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #2
you don't need the [] in the wiki that just means its optional in this case you don't need ,value bit
(This post was last modified: 2010-06-02 23:58 by Jezz_X.)
find quote
Hitcher Offline
Skilled Skinner
Posts: 11,075
Joined: Aug 2007
Reputation: 103
Location: Eastleigh, UK
Post: #3
Doh, thanks Jezz.
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,289
Joined: Jun 2006
Reputation: 57
Location: Earth
Post: #4
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
find quote