Kodi Community Forum
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


- thor918 - 2005-08-15

i remember nad made a logger (microsoft office script)
it seems to be availeble at
https://sourceforge.net/project/showfiles.php?group_id=87054

Quote:this excel spreasheet provides a dynamic graph of an xbox's cpu and gpu temperatures together with its fan speed.



- Livin - 2005-08-15

thor, thanks... i've been to that page 50 times and never noticed it.


- thor918 - 2005-08-20

@nad
just wondering about that getguistatus command again.
*could you add code so that we can read of the active path in "my videos","my music","my files"...etc.
by active path, i mean the path you have browsed your self around in one of those (like "e:\apps\xbmc").

i just tried using getguistatus on a menu button, then the returned status won't show button name.

Quote:activewindow:10000
activewindowtype:10000
activewindowname:home
controlbutton:

by menu buttons, i mean those that are described in dialogsubmenu.xml (it's the menu that looks like this -> "movie trailers","music videos","web radio","scripts")
Confusedaint:

ohh a little edit here.
Quote:activewindow:10000
activewindowtype:10000
activewindowname:home
controlbutton:weather

could you add so that it returns control id ?


- nad - 2005-08-21

thor,

sure. it may be a while though because i have re-designed the way httpapi integrates with xbmc to make it more robust, which means i can't make any more minor changes incorporated until i get the big one done.

nad


- thor918 - 2005-08-21

Confusedaint:
no problem. take your time.as long as my request are seen i'm very happy. thanks nad :d


- HaggleLad - 2005-08-26

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

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

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

Quote:musicpathConfusedmb://username:[email protected]/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

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

nad


- senergy - 2005-09-06

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

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

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

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

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.