skin.string() and multiimage control

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #1
This works:
Quote:<imagepath>Q:\scripts\Apple Movie Trailers\resources\skins\Default\media\thumbs</imagepath>

Then I set a string:
Quote:<setting type="string" name="Project Mayhem III.AMT-chooser-thumbfolder">Q:\scripts\Apple Movie Trailers\resources\skins\Default\media\thumbs</setting>

I can't get the following to work:
Quote:<imagepath>$INFO[Skin.String(AMT-chooser-thumbfolder)]</imagepath>
or
Quote:<imagepath>Skin.String(AMT-chooser-thumbfolder)</imagepath>

Is it possible to use a skin setting for the path?

Thanks

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,917
Joined: Dec 2004
Reputation: 17
Post: #2
I should have read the manual better Smile

It clearly states in the wiki manual:

Quote:Info:
Specifies the information that this image control is presenting. XBMC will select the texture to use based on this tag. See here for more information.

So just use:
Quote:<info>Skin.String(AMT-chooser-thumbfolder)</info>
works great.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #3
Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote