Have you searched this thread? as I have answered many times how to use JSON-RPC actions.jang430 wrote: Can you elaborate further how to do this?
jonib
Have you searched this thread? as I have answered many times how to use JSON-RPC actions.jang430 wrote: Can you elaborate further how to do this?
Good you got a solution.jang430 wrote:I didn't quite understood the instructions. I finally changed keymaps instead to AcivateWindow, and assigned it to a key. I mapped a button to a key instead. It's working now.
The best kind.
Ok, you need to use the "XBMC2\Experimental\JSONRPC" action with method "XBMC.GetInfoLabels" using parameter: (List of other InfoLabels that can be used for other info)bernd wrote:What I'm mean is the menu what you see, directly after Kodi starts. I would need a trigger for Eventghost that tells me what menu item is currently selected.
Code: Select all
[["System.CurrentWindow", "System.CurrentControl"]]Code: Select all
Result:
{
"System.CurrentControl": "TV shows",
"System.CurrentWindow": "Home"
}
I don't get it. I found this this and this ,the Example shows how I get the result of "System.CurrentControl" as text on the screen and it works but how can I use this as trigger. Can you show me what code I have to insert in the trigger with the questions marks?Please search the thread how to use JSON-RPC actions (If you don't know), ask again if you can't figure it out.

Sure, one way is to add a "Trigger event" action that replaces your "Zeige OSD" action, put this:bernd wrote:Can you show me what code I have to insert in the trigger with the questions marks?
Code: Select all
Kodi.{eg.result["System.CurrentControl"]}Do you use broadcast events? as I'm debating if I'm going to remove support for them in the next release as Kodi don't have support for them, and I haven't heard anyone using them.egbaud wrote: 22:35:38 XBMC2: Listening for XBMC broadcast events
Broadcast events are the events supported by older XBMC versions (No Kodi versions support it), or possibly some Kodi/XBMC plugins and XBMC4XBOX.egbaud wrote:I don't really know what a Kodi broadcast event is,
No those events are JSON-RPC Notifications, the "new" way Kodi supports events.Are those Kodi broadcast events? If so, I use them.