Option to disable converting $INFO[] labels.
#1
i want to set a string like this:
Code:
<onclick>Skin.SetString(ItemToEdit.MultiFanart,$INFO[Skin.String(WeatherFanartDir)]$INFO[Weather.FanartCode])</onclick>
but it shouldn´t convert the $INFO[Weather.FanartCode] to a string, i want it to stay this way.
only the $INFO[Skin.String(WeatherFanartDir)] should be converted (or none of both, would also be ok)
possible?
thx in advance

EDIT: another thing. is it possible to use variables with setstring()?

EDIT2: achieved havin this in guisettings.xml now
Code:
<setting type="string" name="skin.aeon.nox.MusicHomeItem.MultiFanart">F:\Weather\$INFO[Weather.FanartCode]</setting>
but now that $INFO[] does not get converted when displayed as a label for example.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#2
bump.
worked around some of the problems i had, but nonetheless it would be very nice to be able to use $VAR[] inside $INFO[]. would save us several thousand lines of code and would improve performance, too (much less visible conditions)

Example:
Code:
<label>$INFO[Window(Home).Property(CustomHomeItem1.1.Title)]</label>
to
Code:
<label>$INFO[Window(Home).Property($VAR[MainMenuPosition].1.Title)]</label>

EDIT:
Code:
<label>$INFO[Window(Home).Property($INFO[ListItem.Property(itemname)].1.Title)]</label>
would also be ok.

thx in advance
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#3
This is only doable with a complete rewrite of the info parsing. Which, coincidentally, I started on a while back. No ETA, as per usual - I'll get up what I have on github at some point in case someone else has more time than me atm!

Cheers,
Jonathan
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
Reply
#4
(2012-04-23, 08:59)jmarshall Wrote: This is only doable with a complete rewrite of the info parsing. Which, coincidentally, I started on a while back. No ETA, as per usual - I'll get up what I have on github at some point in case someone else has more time than me atm!

Cheers,
Jonathan

great. thx.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#5
just want to ask if there are any tutorials/wiki pages on using $VAR?

new to skinning and can't find anything about how to use this, I take it by using $VAR you can reduce a lot of coding?
Reply
#6
(2012-04-23, 16:12)krish_2k4 Wrote: just want to ask if there are any tutorials/wiki pages on using $VAR?

new to skinning and can't find anything about how to use this, I take it by using $VAR you can reduce a lot of coding?

Take a look here:
http://forum.xbmc.org/showthread.php?tid=107734
Reply
#7
(2012-04-23, 16:20)butchabay Wrote:
(2012-04-23, 16:12)krish_2k4 Wrote: just want to ask if there are any tutorials/wiki pages on using $VAR?

new to skinning and can't find anything about how to use this, I take it by using $VAR you can reduce a lot of coding?

Take a look here:
http://forum.xbmc.org/showthread.php?tid=107734

Thanks!

edit: haha that was a whole load of mindfuck, I'll take another look when im more awake!

Reply
#8
(2012-04-23, 16:21)krish_2k4 Wrote:
(2012-04-23, 16:20)butchabay Wrote:
(2012-04-23, 16:12)krish_2k4 Wrote: just want to ask if there are any tutorials/wiki pages on using $VAR?

new to skinning and can't find anything about how to use this, I take it by using $VAR you can reduce a lot of coding?

Take a look here:
http://forum.xbmc.org/showthread.php?tid=107734

Thanks!

edit: haha that was a whole load of mindfuck, I'll take another look when im more awake!

doesn´t really need a manual... just look in variables.xml, it´s self-explaining. always takes the first value which is true.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply

Logout Mark Read Team Forum Stats Members Help
Option to disable converting $INFO[] labels.0