jmv wrote:I am just about to try to implement the same thing but was looking at XBMC as the front end...I like your solution better...can you post here more of the nitty gritty details...I haven't even modded an Xbox yet, although the chip just arrived yesterday.
I almost envy you the time ahead, where you'll discover the amazing potential of a modded Xbox!
Now I'll assume you're installing XBMC 1.0. Then you'll want to make a file called whatever.spy and put in in your xbmc\web directory with this content:
<html><body>
[[\
import xbmc, string
cmd=request['cmd']
if cmd=="play":{
mediafile=request['fn']
mediafile=string.replace( mediafile, '\\\\Htpc\\176 (E)', '192.168.1.202/176 (E)' )
print ('Playing file: %s' % mediafile)
xbmc.Player().play(mediafile)
}
]]
</body></html>
Make sure you replace "\\Htpc\\176 (E)" with your own computername and sharename. Replace the IP too of course.
When done you can call xbmc with an url like
http://xboxip/whatever.spy?cmd=play&fn=<mediafilename>
Mind you this is just the (working) prototype. I'll develop a full command script for the xbox which will allow for an xbox control screen in Xlobby.
A plugin would be needed for 2-way communication.
Now in Xlobby you should create your movie database via the sharename the xbox is using. Gives you the right path. then, under filetypes call iexplore with the url above replacing mediafilename with %file%.
Things to improve in Xlobby for this setup:
- navigate to the url internally instead of opening an external browser.
- 2 way communication (using socket comm instead).
- make a skin for this setup.
Other things you can do:
launch other xbmc scripts like rss news, email checker, xmltv-guide
launch programs (emu's, xbox games etc.)
setup music to play from the xbox.
Have fun