SHUTDOWN one XBOX from another XBOX
#1
i have two xboxes in a network, one has a big hdd so it plays "server" to the other box ( in a different room )

it would be nice to be able to iniated a shutdown from the client box.

can this be achieved via simple python script ?! is there already something like this?
Reply
#2
a simple python command exists to stop the xbox locally.
to stop another xbox on your lan, it may be possible by creating a client/server connection using socket.your bid hdd xbox will wait for command (listening) and you client xbox, will send a command to turn of the other one.
Reply
#3
sounds good :o now someone who can actually program python just has to do it :thumbsup:

i am a total loser when it comes to programming :nuts:
Reply
#4
i'm not sure what protocol you're using, but you could send a shutdown command via ftp: site shutdown
XBMC Skinning Scripts Plugins
"No, I won't hold your hand."
Reply
#5
it is very easy to do over the http server. make sure it is running.

Quote:import urllib
xbox_ip = '192.168.0.2' #change this
urllib.urlopen('http://'+xbox_ip+'/xbmccmds/xbmcform?command=shutdown')
Reply
#6
(asteron @ nov. 28 2005,14:21 Wrote:it is very easy to do over the http server. make sure it is running.

Quote:import urllib
xbox_ip = '192.168.0.2' #change this
urllib.urlopen('http://'+xbox_ip+'/xbmccmds/xbmcform?command=shutdown')
works like a charm! thank you!!
Reply

Logout Mark Read Team Forum Stats Members Help
SHUTDOWN one XBOX from another XBOX0