WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)
- nad - 2005-02-10 14:31
uploaded v0.81 of the xbmc patch code. this adds a new
function xbmcgetmoviedetails. plus various bug fixes around
accesing media on shares.
also included v0.94 of the demo client which takes advantage
of the new xbmcgetmoviedetails function.
thanks to lennon for helping with the debuging.
- nad - 2005-03-06 18:44
the patch is now part of the cvs.
i have uploaded to sourceforge a new version of the demo client (pocketpc and windows) which just includes a few bug fixes.
- Livin - 2005-03-08 04:51
where can i dl just the demo web pages? i dl'd a compiled build from 3/6/2005 already but it did not have your demo pages in it.
- tslayer - 2005-03-08 07:18
demo web pages?
if i am not mistaken, it is a client app for pocketpc.
i've used it and it rocks
- Livin - 2005-03-09 01:58
sorry... i misunderstood... i thought the api was an extension of the http functionality that any browser could utilize. thus, thought there was a demo web page.
it would definitely be nice if the web browser version was extended for full control... basically an interface that changed the tv screens like a "remote control".
i have a touchscreen that would be perfect for that!
- mhernie - 2005-03-09 18:46
i've been waiting for this for a long time. fantastic work. been playing with it for a few hours now...
not sure if there are any instructions out there, but it's pretty easy to figure out. once you sync the 3 files onto your pocket pc and run the app, an "xbmccontrol.ini.txt" file will be generated. edit this for your xbox ip address and also edit the shares named mp3s and videos to point to where you want to browse.
btw, does this support additional shares or just the 2 predefined ones?
i would love to learn how to incorporate these commands into other pocket pc apps. right now i'm testing netremote to control all of my home theater devices. i can either have netremote launch this one, or better yet merge them together somehow.
anyway, i'll keep playing with it for a while before i get too ahead of myself. thanks very much for sticking with it on this app. i've been quietly following it on the sidelines. since i am unable to compile xbmc, i was only recently able to get in now that it's in the newer builds. can't wait to see what happens with it now that it is going to be tested by the masses...
- salle78 - 2005-03-09 22:47
great work nad!
finally in the cvs.
i will make new versions of my applications that take use of the new (much needed) functionality.
i'm also thinking of making a mac os x version.
- nad - 2005-03-10 00:07
thanks for the complements guys.
i'm going to try and make some of the new http api functionality available through the web asp interface and then leave it for the web page developers to do their thing. i am not sure how well this will work compared to my pocketpc "rich client" interface. for example the asp code will need to periodically poll xbmc to up date the "current playing" information.
as far as instructions for the pocketpc demo application, you should find a readme.txt file with some user instructions. you can have as many shares (what the ini.txt file calls 'roots' as you like.)
i am not familiar with the netremote application. however, if you know any programing language available on the pocketpc you shouldn't have too many problems in using the api.
- elupus - 2005-03-10 02:11
nad, you might want to move the xbmccontroldesktop.exe.config file in xbmccontroldesktop out from the source dir as currently if you don't manually do this the deskop version won't work. had to enable debug to find out why.
and by the way, a config page instead of editing a txt file would be nice + possibly using the new music nav stuff would also be pretty sweet.
another thing that would really handy, a way to tell xbmc to play a specific url (ie internet stream) withou having to create a strm file each time.
- nad - 2005-03-10 23:35
i'll move xbmccontroldesktop.exe.config as you suggested, it was the result of creating the source folder just before uploading and without checking.
how do you suggest the internet stream url is handled? as a text box that a url can be typed in, or perhaps a text file that the user creates with one line per url and then the list is presented to the user?