On 28-02-12 11:27, Predrag Mitić wrote: > Use $ESCINFO[] rather than $INFO[] > > When was this changed? Consider me dumb, but except for recently added > example I have no idea where else should it be used?? I just don't get it. > > Do skins really need to think about this kind of issues? > > Why don't we post such things to forum? It is very hard to follow this list > as info gets mixed with code. hi,
$ESCINFO[] was added about 10 months ago: https://github.com/xbmc/xbmc/commit/7d77070d7e14aa7d1a225e705c9c28f8755a48f7 some info on why it was added can be found on the PR: https://github.com/xbmc/xbmc/pull/124 the usecase is not only passing an infolabel to playmedia, basically it should be used when you pass an infolabel that may contain either quotes or commas, to a built-in function. i stumbled upon this issue last year when i was trying to copy an infolabel to a windowproperty. for example: SetProperty(MoviePlot,$INFO[ListItem.Plot]) since the movie description is likely to contain a comma, the built-in function will fail in this case as it will interpret it as multiple arguments being passed to it. it's likely this info never hit the forum, as i either only used trac to report the issue or discussed it with some of the devs on irc... can't remember :-) currently the best way to stay up-to-date with skin engine changes is to keep an eye on the commits on git or check the timeline on trac. i understand many skinners consider this to be far from ideal, so i'm planning to start a thread in the skin-dev forum after eden, where we can collect all skin related changes for frodo. that way, everyone should have an easy overview of what's new and which things have changed. cheers, ronie ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Xbmc-addons mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xbmc-addons
