Sunday, 15 April 2007
I just discovered Xbox media centre has a Webish API
« Yahoo! Desktop Pipes? | Main | Beagle ++ The semantic extension to the Beagle search tool »I was searching for the new Ajaxy Xbox media centre web interface, but came across documentation for the Xbox media centre's HTTPAPI. Which means I can completely control my xbox via a pipeline interface. However there are issues.
- Its all HTML
- Its not valid HT ML
- It seems a little temperamental on Action commands
For example here's how to get what the Xbox is playing right now.
http://xbox/xbmcCmds/xbmcHttp?command=getcurrentlyplaying
But it comes back like this.
<html>
<li>Filename:smb://stratrix/downloads/podcasts/The 1UP Show/041307.m4v
<li>SongNo:0
<li>Type:Video
<li>Title:041307.m4v
<li>Thumb:defaultVideoCover.png
<li>PlayStatuslaying
<li>Time:00:02:40
<li>Duration:00:43:56
<li>Percentage:6
<li>File size:475954023
</html>
Although this is nasty, its still useful. How many media devices under your TV have some kind of API? How many devices around our house support some addressable API?





