Posts: 363
Joined: Jun 2004
Reputation:
0
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.
Posts: 8
Joined: Apr 2008
Reputation:
0
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
Posts: 36
Joined: Mar 2006
Reputation:
0
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?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
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.
Posts: 211
Joined: Mar 2009
Reputation:
1
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