XBMC Community Forum
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)



- HaggleLad - 2005-08-26 01:47

hi,
i've just downloaded the new version of the app having just purchased a pocket pc. thought i'd try the pc app first just to check to see if everything is working ok but i'm getting the "no response using that address" error

the web api is up coz i can access xbmc through a web browser. i'm using the 2005-08-23 build, i know this is "barebones" package, is there something missing that i need to upload.

many thanks,


- nad - 2005-08-26 19:41

just uploaded changes to the way httpapi interacts with threads - this should make it more reliable but apart from (hopefully) no mor e crashes you shouldn't notice any difference.

thor: i have also uploaded (in the last hour) the changes to getguistatus that you requested.

opearmain: assuming you are getting the "no response using that address" error from within the controller app itself rather than the app crashing with that error, it would sound as ifthe software is installed correctly. two things to check:

1. can you access the api through your pocketpc's ie? if not you will need to fix that first.
2. if 1 is ok, then perhaps you don't have the correct setting for xboxip in the xbmccontrol.ini.txt file?

nad


- HaggleLad - 2005-08-30 09:55

thanks for the reply nad,

i installed the app on my ppc and it worked, so i'm happy now.

not sure why the pc version doesn't work? however for your information - the app never gets to the point where it creates a xbmccontrol.ini.txt file, all it asks me is for the xbox ip address and then it gives the error "no response using that address" and asks if i want to retry. pressing "retry" just asks again and gives the same error and pressing "cancel" exits the app. so i can't even get in to the "offline" state. not to worry i only really wanted to use the app with my ppc.

awesome development by the way. keep up the good work.

thanks.


- thor918 - 2005-08-30 20:17

Quote:musicpath:smb://username:password@10.0.0.2/e/
videopath:?
picturepath:?
programspath:?
filespath1:?
filespath1:?
activewindow:10501
activewindowname:my music/files
controlid:50
type:list
description:[apps]

works great the new guistatus.
getting path Wink
but id for submenu buttons returns same id?
is there something i'm missing?

btw. nice that you added password for the webserver, it's nice to limit the access of the httpapi Wink


- nad - 2005-09-02 18:13

nope, not you, me. i'll add and upload the missing controlidsub later today.

nad


- senergy - 2005-09-06 01:38

i just tried the pc version of this last night and i can confirm that i also get the "no response using that address" error.
i tried useing firefox and could see the xbmc web fine.
tried this on 2 seperate xbox's with 2 different builds of xbmc.

will try the ppc version later tonight.


- Livin - 2005-09-24 20:43

nad...

feature suggestions:

a) hdd space & temps
hard drive partition free/used space as well as the cpu/gpu temps. hd space is particularly useful when going to transfer files to the xbox.

b) gui mimic
have a mode where making changes to the control panel will make the on-screen gui navigate and display the state. think of bacically making it a 'remote control' for xbmc.


- nad - 2005-09-26 19:05

affini: to get temperatures and disk space use getsysteminfo (or getsysteminfobyname) and the parameters 112, 113 (temps) and 115-119 (disk spaces). you can find these parameters here

guiinfomanager.cpp

the closest to a "gui mimic" function is that you can send key/button presses to xbmc which acts as a remote control.

nad


- Kick In Da Door - 2005-10-07 15:12

just downloadedthis program the other day, but having problems with the pc version of this app, after entering ip it says it cant find the xbox on thenetwork , im using this program on a laptop with windows 98.


- rodatthebay - 2005-10-07 16:52

does anyone have asp code that returns queries from the mymusic.db files. these databases are sqllite databases ?

returning info from these databases would be a good start in developing a fully functional application.