0004051: Skin functions with boolean arguments not parsed correctly (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
Using a skin function that accepts a boolean argument is not parsed correctly (except for iff(..) which has a special check. Example:<br /> <br /> <include condition="#(not(#skin.tvguide.rows))">mytvguide_8rows.xml</include><br /> <br /> The function not(..) accepts a boolean parameter. If the parameter is a skin setting from (SkinSettings.xml) then the parameter is attempted to be passed to the not(..) function as a string which creates an exception when looking up the skin function (using reflection). This is because the not(..) function accepts a bool type (not a generic object type).<br /> <br /> This problem also exists for and(..) and or(..) skin functions.<br /> <br /> Problem reported by Lbr_Lion.

Continue reading...
 

Users who are viewing this thread

Top Bottom