WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (/forumdisplay.php?fid=93)
+--- Thread: WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps (/showthread.php?tid=8760)
- Livin - 2005-05-19 22:40
do you have a full command list for the httpapi?
i'd like to try my hand at building a web page.
also, do you have support (or can you add it) for deleting files and folders?
- thor918 - 2005-05-19 23:12
deletefile is in the api
look at the list at the bottom of
in fact typing the http command "help" at the xbox
would bring the whole list to you
Quote:/* parse an xbmc http api command */
- Livin - 2005-05-20 01:22
thank you! :thumbsup:
- nad - 2005-05-22 22:18
i have uploaded documentation for the api here: httpapi docs
the docs are still very brief but i will expand on them soon - i promise.
- thor918 - 2005-05-22 23:21
it sure is easier to look at that doc than diving in the code
- sijones - 2005-06-06 22:29
i am trying to get a .strm to launch using this url,
and am having no joy.
does anybody have any suggestions as to what else i can try?
- thor918 - 2005-06-06 23:53
you got the command wrong
"playfile" is the command. i think it is case sensitiv
- nad - 2005-06-12 12:51
just uploaded v1.0 of my client to sourceforge.
added: slideshow functionality
added: new ini settings for root type (i.e video, music, picture) - see ini section below
fixed: xbmc sometimes crashes if certain combinations of commands are sent at high speed. temp fix by inserting a delay (default 200ms) between certain commands.
- pike - 2005-06-13 04:25
sorry for "raping" this thread <span id='me'><center>pike slaps pike</center></span>
is there anyway to launch an xbe via http urlstring ? with cvs or with (any?) additional patches
if there is, how ?
- thor918 - 2005-06-13 05:26
yes there is. using the builtin xbmc command
i would guess it would be like this.
i think it's the last url.
- Nuka1195 - 2005-06-27 14:40
i've tried from two different computers and a friend has tried from a different location to download xbmccontrol.zip from sourceforge.
i have to open it in winrar, windows built-in zip reader won't work and there is a single file called xbmccontrol, no extension. dated 6.27.2005 12:18 pm, file size 205,981 packed 198,138.
i'll re-read this thread, but is there something i missed or is there a problem with the zip file maybe?
edit: nevermind, i was trying to download from your patch page. great app.
- nad - 2005-06-28 23:52
pike and thor918: command=execbuiltin¶meter=xbmc.runxbe(xbe) is the correct syntax to use, however, if you had tried it you most likely would have found xbmc locking up. yesterday, i uploaded a fix for this bug.
- pike - 2005-06-29 00:04
thx nad! closed the sf bug accordingly
- pulp_136 - 2005-06-30 21:45
nad, thanks for your effort.
my question is, can i use this with vb6 ? (the only pl that i can sort of use). preferably with your source module, or, if that's not possible, how do i give the http commands from within vb6?
something else: if i use xbmc as a dashboard is there a possibility to launch specific back-up games with your api? i'm thinking of creating a touchscreen control app for the xbmc.
thanks in advance
- nad - 2005-06-30 22:17
you can definitely use vb6. however, you won't be able to use my module directly, you will first to port it from vb.net which should be very straightforward. in fact it was something i was planning on doing. i can't remember the vb6 approach to sending http commands i'll look it up and post back here.
you should be able to execute games using the command discussed in the posts in this thread from a couple of days back, i.e.:
where xbe would be the filename of the game you wish to execute.