XBMC-JSON an open source .NET XBMC JSON-RPC Library
hobbes487
Junior Member Posts: 19 Joined: Jun 2011 Reputation: 1 |
2011-12-09 07:16
Post: #41
Hopefully this thread isn't completely dead. I have been using this library in my project and even updated it a little with some more functionality. My question is how can I update the library somehow so I can check to see if XBMC is still running and the connection is still live? I don't want to have to restart my program that is used to control XBMC if XBMC has to be restarted or the machine it is on is turned off.
|
| find quote |
blademansw
Junior Member Posts: 11 Joined: Apr 2011 Reputation: 0 |
2011-12-22 03:35
Post: #42
I tried to contact the project leader, but I have had no response yet - perhaps he is on holiday.
I am in the process of updating this library to be compatible with the Eden JSON specifications, so to this end I created a new google code project at http://code.google.com/p/xbmc-json-v3/. I have so far got some of the library functions working, but there are quite a lot of things to change, so its a work in progress! |
| find quote |
hobbes487
Junior Member Posts: 19 Joined: Jun 2011 Reputation: 1 |
2012-01-04 22:05
Post: #43
That's great! How is it going so far? Now that the first Beta of Eden is out I would like to update my project to support it. Is your v3 of the library in a usable state?
|
| find quote |
blademansw
Junior Member Posts: 11 Joined: Apr 2011 Reputation: 0 |
2012-01-05 10:10
Post: #44
I have got some parts working, but there is an awful lot still to change for the Eden API.
I was hoping to get a lot done over Xmas, but that didn't pan out as my wife had a minor op just before Xmas, then my step daughter had appendicitis on Boxing Day, so Xmas was pretty much wiped out ![]() Probably going to be another 1-2 weeks before I have something usable - what functionality is your application using? |
| find quote |
hobbes487
Junior Member Posts: 19 Joined: Jun 2011 Reputation: 1 |
2012-01-05 19:10
Post: #45
Currently my project is only doing the following:
Sending Play/Stop/Skip ffw/back commands for video Receive notifications for playback started/stopped/resumed/ended/paused Eventually I will be adding a lot more integration between my project and XBMC, but that is is all I am using for now. Thanks for deciding to take over development of this! |
| find quote |
blademansw
Junior Member Posts: 11 Joined: Apr 2011 Reputation: 0 |
2012-01-09 01:07
Post: #46
Hi Hobbes.
Sorry for the delay in replying, this weekend has been absolutely rammed with birthdays and family events. So far I have got play/pause, next, previous and stop working. You can also get the albums lists from music library. The next thing I have to look at is the notification items as I think the API changed on them as well. Some things have been deprecated from the original project, however, these now return a NotSupportedException. I get the feeling taking this over is a big job though lol. |
| find quote |
hobbes487
Junior Member Posts: 19 Joined: Jun 2011 Reputation: 1 |
2012-03-25 04:53
Post: #47
Now that Eden is officially out I was wondering how the new .net library is fairing.
|
| find quote |
hobbes487
Junior Member Posts: 19 Joined: Jun 2011 Reputation: 1 |
2012-03-25 05:40
Post: #48
Actually I just checked the google code site and it looks like you have made great progress. It almost has everything that I currently need. I made a couple updates to add additional events and a method to check if the client is still connected. If you are interested I can commit my changed to the project
|
| find quote |
blademansw
Junior Member Posts: 11 Joined: Apr 2011 Reputation: 0 |
2012-03-26 10:28
Post: #49
(2012-03-25 05:40)hobbes487 Wrote: Actually I just checked the google code site and it looks like you have made great progress. It almost has everything that I currently need. I made a couple updates to add additional events and a method to check if the client is still connected. If you are interested I can commit my changed to the project Hi Hobbes, yes please, do commit the changes as the event handling was the next thing I wanted to look at after all of the media library work which was a big job in itself. Been a bit busy over the last couple of weeks to do anything on it, but now Eden is out I had better crack on! If you PM me your email address, I will add you to the project. Kind regards |
| find quote |
logosmonkey
Junior Member Posts: 4 Joined: Aug 2012 Reputation: 0 |
Just a heads up, I committed some changes to the project a few minutes ago. All v4 notifications - except for the GUI ones which don't actually seem to be documented.. are these from an older API or something? - are now handled and XSystem.GetActivePlayers() now functions and returns player ID and type. In the next few days I'll be implementing the rest of the API and adding in some more helper functions.
I'll likely integrate the heartbeat method that hobbes487 implemented in his OSA plugin and start fleshing out changes needed to move to API5. I'm going to be building out an automation plugin for Homeseer in the near future based on this lib so I'm considering adding in a more robust notification intake system that would be able to handle custom notifications. Effectively turning XBMC into a passthrough for remote control events - think turning off all your lights with the power button on your remote without needing an additional IR interpreter etc. Of course that'll require at least an additional plugin on the XBMC side - I haven't fully vetted the feasibility of custom json notifications but I think it's pretty doable. I'll keep the thread updated with additional commits. Current codebase available at http://code.google.com/p/xbmc-json-v3/ |
| find quote |


Search
Help