

Returns True if the value of the infolabel is greater than to the supplied number. V17 Skinning engine changes: Integer.IsEqual(info,number) v20 Skinning engine changes: Integer.IsEqual(info,number) now supports comparisons against other integer infos and not just fixed number values. Note Example: Integer.IsEqual(ListItem.Year,2000)

Returns True if the value of the infolabel is equal to the supplied number. V20 Skinning engine changes: Integer.ValueOf(number) Example: Integer.ValueOf(some string) will evaluate to -1 as the provided argument is not an integer. Will return -1 if not able to convert the provided value to an integer. Note Example: Integer.ValueOf(4) will be evaluated to 4. Returns An integer info label that represents the provided number Parameters number V17 Skinning engine changes: String.Contains(info,substring) Returns True if the info contains the given substring. V17 Skinning engine changes: String.EndsWith(info,substring) Returns True if the info ends with the given substring. V17 Skinning engine changes: String.StartsWith(info,substring) Returns True if the info starts with the given substring. V17 Skinning engine changes: String.IsEqual(info,string) Returns True if the info is equal to the given string. V17 Skinning engine changes: String.IsEmpty(info) Also note that in a panelview or similar this only works on the focused item Please note that string can also be a $LOCALIZE. Note Example of info: ListItem.Title, ListItem.Genre. V20 Skinning engine changes: Addon.SettingInt(addon_id,setting_id) Otherwise it will return the integer info default value (which is 0).

Note The provided setting with setting_id must be an integer setting type. Returns The integer value of the setting setting_id belong to the addon with the id addon_id. V20 Skinning engine changes: Addon.SettingBool(addon_id,setting_id) Otherwise it will return the boolean info default value (which is False). Note The provided setting with setting_id must be a boolean setting type. Returns True if the setting setting_id belonging to the addon with the id addon_id is True, False otherwise. V20 Skinning engine changes: Addon.SettingStr(addon_id,setting_id) Returns The string value of the setting setting_id belonging to the addon with the id addon_id. List of Infolabels and Boolean conditionsĭescription Addon.SettingStr(addon_id,setting_id) Use links instead of bold values for infolabels/bools so we can use a link to point users when providing help Order items alphabetically within subsections for a better search experience Separate boolean conditions from infolabels Improve the description and create links for functions Scripts can read infolabels with xbmc.getInfoLabel('infolabel'). Skins can use infolabels with $INFO or the tag. Scripts can read boolean conditions with xbmc.getCondVisibility(condition). Skins can use boolean conditions with the tag or with condition attributes.
