VoxCommando

Help and Support (Using VoxCommando) => Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis => Topic started by: Wanilton on October 10, 2012, 06:35:10 PM

Title: Support HTTP API removed today
Post by: Wanilton on October 10, 2012, 06:35:10 PM
Well, I think I need inform James and others friends, today, Montellese, completely remove deprecated HTTP-API, well, for XBMC Frodo user, it´s time get the last good one exe,  here link with action done:

https://github.com/xbmc/xbmc/commit/af66b90e859c03c6b6ab13e291088f1cf7ad4e55

I hope James find other way via J-son for voxcommando users with XBMC frodo.

Get latest version XBMC Frodo in repo, build 10/09/2012, or other options stay in XBMC Eden with HD Audio by DanielaE.

Wanilton
Title: Re: Support HTTP API removed today
Post by: jitterjames on October 10, 2012, 07:59:15 PM
Bastards!  Thanks for the warning Wanilton.  Jeez, I can't imagine why they would finish the json support before pulling the plug on http.

I think VoxCommando will not support frodo!  Screw frodo!  The json  API is useless.   ::yuck ::yuck ::yuck :bonk ::club ::yikes
Title: Re: Support HTTP API removed today
Post by: LOCOSP on October 10, 2012, 09:15:03 PM
Hi, can it be the reason why i cant control my XBMC from few days ?

my voxwav recognize my command and the info cloud shows up in the XBMC but nothing is happening , for example if I say "show movies" XBMC doesn't takes me  to my movie library ...

Sorry if i didn't understand the topic right :)

Title: Re: Support HTTP API removed today
Post by: jitterjames on October 10, 2012, 09:30:19 PM
No.  It was only removed today, and only from the latest nightly version of XBMC, which you are probably not using.
Title: Re: Support HTTP API removed today
Post by: xtermin8r on October 10, 2012, 09:35:38 PM
Thank you  Wanilton for letting us know.
This is bad news, looks like i will have to learn JSON of a beach.  :bonk
Title: Re: Support HTTP API removed today
Post by: LOCOSP on October 10, 2012, 09:42:03 PM
No.  It was only removed today, and only from the latest nightly version of XBMC, which you are probably not using.

So if not this, what can be a problem?
Title: Re: Support HTTP API removed today
Post by: xtermin8r on October 10, 2012, 09:44:45 PM
So if not this, what can be a problem?


Check all the network settings in VC and see if they match the network settings in xbmc.
Title: Re: Support HTTP API removed today
Post by: jitterjames on October 11, 2012, 06:19:40 PM
So if not this, what can be a problem?

Based on your other posts it sounds like maybe you are having a network / firewall issue.  If it was working OK a few days ago then try to think what has changed in your setup since that time.  You are the best person to figure this out since we know nothing of your computer and network setup.
Title: Re: Support HTTP API removed today
Post by: jitterjames on October 11, 2012, 06:28:58 PM
Well, I think I need inform James and others friends, today, Montellese, completely remove deprecated HTTP-API, well, for XBMC Frodo user, it´s time get the last good one exe,  here link with action done:

https://github.com/xbmc/xbmc/commit/af66b90e859c03c6b6ab13e291088f1cf7ad4e55

I hope James find other way via J-son for voxcommando users with XBMC frodo.

Get latest version XBMC Frodo in repo, build 10/09/2012, or other options stay in XBMC Eden with HD Audio by DanielaE.

Wanilton

I can confirm that the latest version (today's  XBMCSetup-20121011-a039355-master.exe ) does not work with most of our commands.

These actions still work
XBMC.Btn.KB
XBMC.Notify

pretty much everthing else is broken.

So I recommend everyone keeps their main systems running on EDEN for now, or if using nightlies then don't use anything after October 9th.  Is that right?

I will now start working on a solution for this whenever I can find extra time for it.  It will take a little while though...  ::confused
Title: Re: Support HTTP API removed today
Post by: ajith on October 12, 2012, 12:11:02 PM
James,

If you need any help with researching APIs and stuff, I'm available.

-Ajith
Title: Re: Support HTTP API removed today
Post by: jitterjames on October 12, 2012, 12:31:35 PM
James,

If you need any help with researching APIs and stuff, I'm available.

-Ajith

Thanks very much.

I think I'm OK with the XBMC/JSON API in general and I'm OK with sending commands and getting back results by connection through an HTTP Post.  The only thing I'm not too sure about is whether or not this is the best approach.  As I understand it, it might be necessary to use a TCP socket instead if we want to register for and receive events from XBMC via JSON.  If you could find me some sample code for this in C# or similar that would be great.  Or maybe there is another method that would work.

Another advantage of using sockets, (from what I've read) is that they are "always on" on port 9090 which means easier setup for newbies, but I'm not 100% sure about this.  It might also be the case that TCP sockets are faster / more efficient / more secure, but again I'm not sure it's true, or if it really matters.  Reliability is the most important thing to me and it could be that using HTTP posts is just safer, since it's nice and simple, and it seems to work well so far.
Title: Re: Support HTTP API removed today
Post by: jitterjames on October 21, 2012, 01:03:35 PM
I have created a new board where we can discuss all things related to using VoxCommando with the latest versions of XBMC

http://voxcommando.com/forum/index.php?board=40.0