2017-02-19, 00:02
(2017-02-18, 23:07)braz Wrote: Hi Bob, hope all is well! I have a small feature request, or maybe I'm just doing some wrong.
I'm trying to set a custom widget property that displays a set of numeric options. I've got the following code in my overrides.xml. The issue I'm having is that the label does not seem to recognize the $NUMBER[] code, it prints it out as part of the label. Can this be updated to recognize $NUMBER[]? I thought about just using Kodi's localized numbers for the numeric input dialog, but found it's not possible to combine two localized strings in the property's label field (label becomes blank in that case).
Code:<property property="widgetLimit" label="$NUMBER[24]">$NUMBER[24]</property>
Thanks so much!
I'll happily add this to my to-do list, but be aware that development isn't happening at any measurable speed right now
The different methods that the script uses to display the select dialog mean that whether Kodi interprets the labels (whether that be info's, localize's and number's) varies - it's worth double-checking whether simply using 'label="24"' works until I can look into and fix this properly