Posts: 11
Joined: Nov 2008
Reputation:
0
dbx_
Junior Member
Posts: 11
My xbox loaded with XMBC was stolen recently and got me thinking. It would be nice to be able to have XBMC email it's public IP address upon wake-up or on daily basis to a specified email or list of email addresses, providing an easy solution to locate the xbox every time its IP address changes. Im sure that you could use a relatively static site like whatismyip.com to scrape your public IP address to be emailed.
This way, everytime the xbox gets put on a network with internet access, the public IP address for the network gets emailed to my email account and i would know where it was.
Posts: 4,997
Joined: May 2004
Reputation:
12
Definitely not a job for XBMC. Maybe toss it in a script.
Posts: 11
Joined: Nov 2008
Reputation:
0
dbx_
Junior Member
Posts: 11
does that mean i have to learn to script if i want to be able to do this?
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
i think jmarshall might be interested in this. but it seems pretty simple to disable?
Posts: 4,997
Joined: May 2004
Reputation:
12
Unless you can con someone else into doing it for you, yes.
Posts: 1,331
Joined: Jan 2008
Reputation:
3
rwparris2
Team-XBMC Python Developer
Posts: 1,331
You won't really need to 'learn' scripting.
I'm pretty sure a google search for 'how to send email with python', and looking at any of the getHTML() function in one of mine (or any other plugin, or any of the billion examples google would return) will be all you need. You don't even need regex for this, you can just email everything getHTML returns.
Also refer to xbmc.org/wiki for autoexec.py
Sucks your xbox got stolen.
Posts: 11
Joined: Nov 2008
Reputation:
0
dbx_
Junior Member
Posts: 11
it might be easy to disable, but most people wont know what they are looking for or how to stop it. chances are that message is going to get out if it gets on the internet.
Posts: 14
Joined: Feb 2009
Reputation:
0
Veda
Junior Member
Posts: 14
It isn't possible, as far as i know, to get an address from an ip address... So you can't do any useful with it.
You can better create a webpage on a website with a 0 if you want your xbox to work, and a 1 if it is stolen.
All you need to do then is check that webpage for a 0 or an 1, if it is 1 then turn off the xbox, and if it is 0 do nothing.
Posts: 11
Joined: Nov 2008
Reputation:
0
dbx_
Junior Member
Posts: 11
what sort of incentive would i have to offer to raise someones interest in implementing this?