What the development-status of the WebServer (libGOAhead) and the old web interface?
#46
(jhoov @ feb. 06 2006,18:54 Wrote:this may seem like a stupid question, but i searched through nad's api doc and could not find the answer.  what are the api commands for start, stop and pause?

as slick as the default xbmc webserver page looks, it doesn't have enough functionality for me.  i struggled several hours to figure out the spyce language and gave up.  since i run apache on my laptop, i'll just use the api and write any code in php.  so, i took everything in nad's doc and built a php xbmcapi class.  now i'm going to work on a jukebox interface to control my xbmc from my laptop.  

-- jeff
i did a release in the cvs patches that has the editing for the current xml added to the settings section. did the same for the pm3 skin just havent put it up anywhere.

strongly thingking about a slight code alteration in the page itself for speed gains.
Image
Reply
#47
hi there.
i'm trying to modify the http headers on an asp page that is located on the xbmc.

i tried doing
addresponseheader("content-type","royalairways-format");

http://www.astro.uni-bonn.de/~webstw/cm/...tm#1020125

but this just throws an error.
anyone with bright ideas?

another alternative to achive my goal if it exists something like we have in apache :
.htaccess

but it doesn't seem we have that in the goahead webserver.

---------------------------------------------------
wow just figured out that spyce works. mabe there is something there that can help me modifing the headers sendt to client.

http://spyce.sourceforge.net/docs/eg.html



Reply
#48
hehe
i got it working now,
thanks to spyce!

http://spyce.sourceforge.net/docs/gif.src.html



Reply
#49
okey, seems like i need some more help after all.
http://home.no.net/thor918/xbmc/stuff/headerchange.spy
while i can use spyce to change the mime type of the header, in my case the file extencion can't end with spy.

are there any way to configure goahead webserver like apache's .htaccess

what would be perfect, if i can spesify the file extencions that will be parsed as python server side page.

i'm hoping a dev can pick up my thread :d
Reply
#50
okey. i sorted out the file problem.
used spyce to add a header containg a the filename
response.addheader('content-disposition', 'filename=xbox.ini')

i think it would work in most browsers, but not sure.

sorry about all the fuss.
Reply
#51
Hi guys,

I've been modifying the web interface for a 10.4" touch screen. I've got all the modifications completed however I would like to add the following components to the display:

Current Playing Song
Current playing Song current time/total time (like 2:34 / 5:00)

Next song in playlist

Is there any way I can easily add these to the web interface?
I've found an AJAX interface that does it so I know its possible, but I just dont know how to do it. I know there is a URL you can punch in and it'll give me a static reponse (as in it wont update playing time) but I just dont know how to use that. I only need the title of the mp3 and the times.

Thanks and hopefully someone can help.

Jase
Reply
#52
http://wiki.xbmc.org/?title=WebServerHTTP-API
http://forum.xbmc.org/showthread.php?tid=8760
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#53
I am a complete XBMC newb, so please forgive me if this question is an old one.

I understand GoAhead is the integrated web server. After doing a little reading at their site it appears to support ASP and CGI. But, the XBMC wiki page The Web Interface states no ASP or PHP support. The web folder I downloaded shows default.asp and has some pretty standard code.

What am I missing here? Is this like ChiliASP? I'm considering doing some work on the web interface, and want to make sure I understand the current framework.
Reply
#54
I started today to try to update the web remote code so it can edit more settings than just sources, but I don't have any experience in asp. Just about everything else web-related, but not asp. I noticed goahead supports some javascript now, but I doubt it will do any file i/o.

What type of asp is the current web remote? C#?

Will the API need editing to (or does it already) support the current structure? (advancedsettings.xml, guisettings.xml) I noticed it used to support xboxmediacenter.xml.

Also, could I ask why goahead and not apache?
Reply
#55
i'll answer the last one; porting apache to xbox was not a task anyone cared to do for such a simple thing as an embedded web server.
Reply
#56
Most of your questions are probably already answered here:
http://forum.xbmc.org/showthread.php?tid=1358

Team-XBMC is currently having an internal discussion whether or not to replace libgoahead with another better embedded web server (such as Appweb), or if to replace libgoahead with some other solution for offering a better web interface.

In any case, the reason why the current web interface is so outdated is that libgoahead is so hard to develop dynamic web pages for.

PS! Also checkout http://forum.xbmc.org/showthread.php?tid=18680

Wink
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#57
Any chance that we could have some kind of webservice on this new embedded web server? What I am thinking is that the webservice could act as an api for skin developers. So maybe we could make a skin editor that querried the webservice for available functions/tags.

/needtotest
Reply
#58
Any plan to upgrade to WebApp ?

It looks like it is from the same author and supports more features.

Here is a comparison of web servers (look at the bottom also):
http://www.prolix.ro/dokuwiki/documentat...comparison

Here is the webapp site:
http://www.appwebserver.org/
Reply

Logout Mark Read Team Forum Stats Members Help
What the development-status of the WebServer (libGOAhead) and the old web interface?0