News:

There is now a ChangeLog page on the wiki
New developments are added at the bottom of the page.

Main Menu

Support HTTP API removed today

Started by Wanilton, October 10, 2012, 06:35:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wanilton

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
www.xbmcbrasil.net
XBMC  Brazilian Community Forum - Admin
Windows 8.1 - XBMC Gotham Custom Plus - Aeon MQ 5
My Room Entertaiment´s
About me

jitterjames

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

LOCOSP

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 :)


jitterjames

No.  It was only removed today, and only from the latest nightly version of XBMC, which you are probably not using.

xtermin8r

#4
Thank you  Wanilton for letting us know.
This is bad news, looks like i will have to learn JSON of a beach.  :bonk
Neural Net Based Artificial Intelligence.

LOCOSP

Quote from: 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.

So if not this, what can be a problem?

xtermin8r

Quote from: LOCOSP on October 10, 2012, 09:42:03 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.
Neural Net Based Artificial Intelligence.

jitterjames

Quote from: LOCOSP on October 10, 2012, 09:42:03 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.

jitterjames

Quote from: 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

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

ajith

James,

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

-Ajith

jitterjames

Quote from: ajith on October 12, 2012, 12:11:02 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.

jitterjames

#11
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