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
[WINDOWS] Events etc from xbmc, guidance needed
Stompp
Junior Member Joined: Feb 2011 Reputation: 0 Location: Stockholm, Sweden |
|
| find quote |
Montellese
Team-XBMC Developer Joined: Jan 2009 Reputation: 20 Location: Switzerland |
2011-04-18 09:50
Post: #2
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. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Stompp
Junior Member Joined: Feb 2011 Reputation: 0 Location: Stockholm, Sweden |
Great, thank you Montellese
![]() 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
|
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)

Search
Help