2009-05-19, 00:21
indy5 Wrote:I have a small request/modification to the update XBMC button. Once you figure out the code, do you think it can be changed to allow for updating multiple XBMC machines? I'm sure there are many of us who have more than 1 XBMC system running in the house and it would be perfect to be able to update all the libraries at the same time.
Perhaps a drop down where you can choose which library to update (and possibly a way to customize the name, living room, bedroom, etc)
Thanks!
Once I get the actual command to send, then I'll start filling in the holes. Please add a request to the google code page so I don't forget about it.
Bram77 Wrote:Should do the trick! But you'll need to allow the user to enter login credentials for the webserver. The way to do that differs from language to language. I don't know how it's done in VB.Code:http://<xbmc-ip>:<xbmc_port>/xbmcCmds/xbmcHttp?command=ExecBuiltIn¶meter=updatelibrary(video)
If the webserver is set to the default response format* and the webserver is enabled** the response should be
Code:<html>
<li>OK</html>
* You can reset the webservers response format by using the following command...
Code:http://<xbmc-ip>:<xbmc_port>/xbmcCmds/xbmcHttp?command=SetResponseFormat
** You can check if the webserver is enabled by using the following command...
The result should be...Code:http://<xbmc-ip>:<xbmc_port>/xbmcCmds/xbmcHttp?command=WebServerStatus
Code:<html>
<li>On</html>
Thanks. At this point, I'm not concerned with the response but that will come in handy later. Hopefully HTTPWebRequest works...