Kodi Community Forum
[C++]getting now playing info - 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: [C++]getting now playing info (/showthread.php?tid=95574)



[C++]getting now playing info - carmenm - 2011-02-28

Hi everyone,

i am writting a application that communicates with xbmc. I easily got the applicaiton->xbmc communication working using xbmcclient.h. But now i am trying to get it the other way around.
I have been looking for a c++ sample but i couldnt find one.

What i want is to get now playing information. If i am correct i can do that with an http request but what bugs me is that it is only a pull way of getting things.
What i would like is to connect to xbmc so that it can tell me when something is happening.
can anyone guide me or point to a sample code?

Thanks