Author Topic: Support HTTP API removed today  (Read 5887 times)

0 Members and 1 Guest are viewing this topic.

Wanilton

  • $upporter
  • Hero Member
  • *****
  • Posts: 559
  • Karma: 6
    • View Profile
    • XBMC Brazil Forum
Support HTTP API removed today
« 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
« Last Edit: October 10, 2012, 10:40:52 PM by 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #1 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

LOCOSP

  • Jr. Member
  • **
  • Posts: 21
  • Karma: 0
    • View Profile
    • LOCOSP.ORG
Re: Support HTTP API removed today
« Reply #2 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 :)


jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #3 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.

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Support HTTP API removed today
« Reply #4 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
« Last Edit: October 10, 2012, 09:42:36 PM by xtermin8r »
Neural Net Based Artificial Intelligence.

LOCOSP

  • Jr. Member
  • **
  • Posts: 21
  • Karma: 0
    • View Profile
    • LOCOSP.ORG
Re: Support HTTP API removed today
« Reply #5 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?

xtermin8r

  • $upporter
  • Sr. Member
  • *****
  • Posts: 366
  • Karma: 9
  • Crunchie
    • View Profile
Re: Support HTTP API removed today
« Reply #6 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.
Neural Net Based Artificial Intelligence.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #7 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.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #8 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

ajith

  • $upporter
  • Contributor
  • *****
  • Posts: 87
  • Karma: 2
    • View Profile
Re: Support HTTP API removed today
« Reply #9 on: October 12, 2012, 12:11:02 PM »
James,

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

-Ajith

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #10 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.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Support HTTP API removed today
« Reply #11 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
« Last Edit: October 21, 2012, 01:06:03 PM by jitterjames »