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-03-25 00:53
incognegro: have you checked that the two roots in your xbmccontroldesktop.ini.txt file are pointing to folders that exist on your xbox? i think this is the problem.
just going offline isn't the most obvious error message - i'll change this in the next version.
- salle78 - 2005-04-02 20:51
i have a small request, it would be great if these two asp-commands also existed like http-api-commands:
xbmccfggetbookmark(type, "name/path", position)
then you could get a list of all the bookmarks (and their path) without creating a asp-page to get it from.
- HaggleLad - 2005-04-03 12:47
firstly sorry for my ignorance but i've just quickly viewed this post coz its linked from the changelog for the new cvs (2005-04-01) which i've just installed.
looking at the screen shots from the first post it looks like an impressive piece of kit, good work.
i'm guessing this will not work on my palm tungsten t5 or will it? also is there any way to access the gui from a pc (if so whats the url)?
- salle78 - 2005-04-03 15:31
(opearmain @ april 03 2005,11:47 Wrote:also is there any way to access the gui from a pc (if so whats the url)?if you have enabled the webserver in xbmc you can surf to your xbox, if your xbox for example has the ip 192.168.0.3, just enter http://192.168.0.3/default.asp in your webbrowser. another way is to use nad's or my windows-application, however my application don't support the new features like handle playlists and set volume, but i'm working on a new version that will support that ( http://www.geocities.com/grundir4/xbmr/ )
(opearmain @ april 03 2005,11:47 Wrote:i'm guessing this will not work on my palm tungsten t5 or will it?nope, both mine and nad's pocketpc-application requires the .net compact framework, and will only work on pocketpc. but if you have a webbrowser on your palm you can use that to control xbmc on the same way that you can control it from your webbrowser on your pc. you may however want to install another web-skin that is more adopted for a device with a small screen like your palm.
- HaggleLad - 2005-04-05 13:25
salle78 thanks very much for your reply. its a shame it won't work on my palm but nevermind maybe i'll just have to get a pocket pc especially!!! (ps: does it need to be wireless or does it work through infrared)
Quote:also is there any way to access the gui from a pc (if so whats the url)?what i mean by this question is - does the application that runs on the pocket pc also work on a desktop pc
(i find the standard xbmc webserver a bit cumbersome and am interested if your app does things better)
edited: i have just download the zip file and i can see that the app does have a desktop version, i'll try it at home later, looks great - thanks!!!!!!!
re: xbox media remote
i just downloaded v0.1a and it didn't work, dunno why, (i can post error messages if you'd like)
also: mvoosten commented that the zip file is corrupt. i found it was corrupt too when using my w2000 pc at home two days ago but i've just tried again at work on xp today and it works!!!
- taily - 2005-04-08 21:45
i think your doing some great work, both on the gui and the xbmc extension, which in their turn have inspired me to create one for linux.
currently i only have a command line application to feed those commands to the xbox, but i would greatly appriciate if you could go through some parameters and functions for some commands with me!
once i got those under controll i could start working on a gui =), most likely in gtk..
and to the rest of you, are there people out there who would like this kind of program? i mean surely there has to be some linux users here
- nad - 2005-04-09 12:24
salle: i'm having a look at the asp commands and will hopefully have anupdate soon.
opearmain: as you have gathered the client doesn't work on the palm. however, i wrote the interface to be as simple as possible so that if you are able to do a bit of string processing and are able to get a network connection to xbmc from your palm it shouldn't be that difficult. i believe there are some basic like development environments for the palm which may make things more straightforward.
taily: great news to hear we are branching out to linux. are you just asking for information on what the parameters to the commands are? my lazy response would be just to point you in the direction of my client code. however, i am meaning to write some more detailed documentation. any of the commands in particular?
- taily - 2005-04-09 12:40
(nad @ april 09 2005,11:24 Wrote:taily: great news to hear we are branching out to linux. are you just asking for information on what the parameters to the commands are? my lazy response would be just to point you in the direction of my client code. however, i am meaning to write some more detailed documentation. any of the commands in particular?hmm.. not really, seems i got most of them under controll now after a little bit of experimenting ..
some things i still wonder about though is:
# getplaylistsong (returns the number playing and an error)
now to get working on a gui ..
- nad - 2005-04-09 18:21
taily: the playlist values are as follows
-1 = playlist_none no playlist active
0 = playlist_music playlist from music playlist window
1 = playlist_music_temp playlist started in a normal music window
2 = playlist_video playlist from music playlist window
3 = playlist_video_temp playlist started in a normal video window
the error being returned on getplaylistsong is a bug. you can safely ignore it for now, but i'll fix it in the next update.
- nad - 2005-04-10 20:33
just updated the cvs with the new httpapi command: config. this exposes the following configuration commands which correspond to the existing asp commands and take the same parameters:
examples of their use: