2010-12-31, 12:15
Montellese Wrote:I actually meant "What do you mean by "getCurrentWindow()?". Where did you find that function or is it even a function?
Ah, ok. The function just sends a rpc call like this:
Code:
"{"id":497,"jsonrpc":"2.0","method":"System.GetInfoLabels","params":["System.CurrentWindow"]}"
the answer for "videos" is:
Code:
"{
"id" : 497,
"jsonrpc" : "2.0",
"result" : {
"System.CurrentWindow" : ""
}
}
here is an answer for "music"
Code:
"{
"id" : 71,
"jsonrpc" : "2.0",
"result" : {
"System.CurrentWindow" : "Music/Files"
}
}