2012-08-14, 13:05
I have a PC at home running XBMC on Ubuntu, and have installed a Push system (www.pushcontrols.com) to control everything. Here's an example of the page i have made for my iPhone app.
I can assign HTTP Requests to buttons, which is perfect for the HTTP API as i just want to use all the simple command controls (play, pause, forward, back, stop, up, down, left, right, Select, return, Home, TV Shows, Movies, Music, Shutdown, and Info), but given that API is being depreciated i have to try and make use of JSON API. I've read through all the information regarding this topic on the Wiki but am still not too sure on how i need to set it up. It appears I can't just send the command using a URL but it now has to be wrapped in a POST command. Not sure how i can do this using my current system.
I Believe i can add scripts to the push system then assign method/function calls to the buttons, so that could be the best way to go, but does anyone have a suitable script available where i can call the functions from?
Hope i'm making sense here... Brain is dead after a long day at work...
I can assign HTTP Requests to buttons, which is perfect for the HTTP API as i just want to use all the simple command controls (play, pause, forward, back, stop, up, down, left, right, Select, return, Home, TV Shows, Movies, Music, Shutdown, and Info), but given that API is being depreciated i have to try and make use of JSON API. I've read through all the information regarding this topic on the Wiki but am still not too sure on how i need to set it up. It appears I can't just send the command using a URL but it now has to be wrapped in a POST command. Not sure how i can do this using my current system.
I Believe i can add scripts to the push system then assign method/function calls to the buttons, so that could be the best way to go, but does anyone have a suitable script available where i can call the functions from?
Hope i'm making sense here... Brain is dead after a long day at work...