Solved using info lables with parameters?
#1
I found reference to using infolables in the jsonrpc api here

It mentions something like this should work...

{
"jsonrpc": "2.0",
"method": "XBMC.GetInfoLabels",
"params": {
"labels": [
"Network.IPAddress",
"Network.MacAddress",
]
},
"id": 1
}

and it does work... only is it possible to send info labels that take parameters such as Container(id).CurrentPage or the like?
If so what should the format for serializing the parameter be?

Same question for info booleans i suppose
Reply
#2
figured it out... just substitute the values keeping the parenthesis...
Seems these infolables and infobooleans are just a jsonrpc pipeline to another subsystem entirely...
Lots of duplicate functionality and some of what could have been better served with direct requst/response or notification model.

I notice some async operations where a request is made, the response is busy, which then you must repoll for
Not criticizing, just pointing out what might use a good refactoring...
Reply

Logout Mark Read Team Forum Stats Members Help
using info lables with parameters?0