Kodi Community Forum
[WINDOWS] Events etc from xbmc, guidance needed - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [WINDOWS] Events etc from xbmc, guidance needed (/showthread.php?tid=99560)



[WINDOWS] Events etc from xbmc, guidance needed - Stompp - 2011-04-18

I'm currently writing an app for controling the OLED display in my HTPC case and I'm trying to find out how to feed it with info from XBMC (play, pause, progress etc). My question is if (and how) XBMC is outputting this info. Or do I have to pull it from XBMC?

Any guidance on which direction to look would be highly appreciated.

Thanks in advance
.stompp


- Montellese - 2011-04-18

If you want to get notified about status changes you should take a look at our JSON-RPC API. Most information can be retrieved from this thread but beware that most of the early info in that thread is outdated. The latest changes have been outlined in this thread.

While JSON-RPC provides notifications about status changes in XBMC you'll still have to actively pull the info from XBMC to get more details.


- Stompp - 2011-04-18

Great, thank you Montellese Big Grin

I've peeked at the JSON-RPC API and the iMON project. Kinda figured out that was the way to go. Just wasn't sure about the notifications. Pulling the details from XBMC is no issue as long as I can receive a notification - polling is no fun Wink