Is it possible to get "CondVisibility" and "InfoLabel" with one function call?
#1
Hello,

Kodi has two kinds of "variables", an Addon may read. The "boolean ones" and the "string ones".

If everything, I have, is the "name" (like "System.Platform.Linux"):
- Is it possible to tell which kind of value is behind this name?
- Is it possible to read both kinds of value with just one function call?

For me it seems like the "Visibility variable name strings" can be passed to "getInfoLabel", too, but always return an empty string. Is this intended behaviour which will stay the same even in future Kodi releases?

If so, I could just check for this empty string and if I get it, do a second call to check if this was a "true boolean value".
Reply

Logout Mark Read Team Forum Stats Members Help
Is it possible to get "CondVisibility" and "InfoLabel" with one function call?0