Running scripts from webserver?
#1
is there a way to run a python script from the xbmc webserver?
Reply
#2
yes and no.
no, because you can't browse the xbox 'with the default webpage that is in cvs currently' for scritps.

with a bit of programming you could do it because the webserver supports "splice", which gives you the possibility to run python scripts in webpages (it's a bit the same as asp).
and since there are commands in python to run other scripts it's possible to run those
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.


Image
Reply
#3
well... what i really wanted to do was have more control over my xbox from the web

like if you go to http://xboxip/xbmccmds/xbmcform?command=shutdown the xbox will shutdown. is there a list of possible commands? the only ones i know are restart, shutdown, play, pause, stop. i was hoping for more things in there.

are there any other things i can do? i would like to be able to launch the python script on the xbox from the web. to maybe start google news, or something like that.
Reply

Logout Mark Read Team Forum Stats Members Help
Running scripts from webserver?0