Author Topic: Control XBMC via HTTPAPI ?  (Read 5543 times)


  • First post!
  • Posts: 1
    • View Profile
Control XBMC via HTTPAPI ?
« on: September 11, 2007, 07:03:05 am »
How about controlling Xbox Media Center (XBMC) via it's HTTPAPI?

It seems fairly simple and should be a pretty robust solution:



  • Addicted
  • *
  • Posts: 529
    • View Profile
Re: Control XBMC via HTTPAPI ?
« Reply #1 on: September 11, 2007, 01:15:41 pm »

Great idea, didn't realise that it had this API. Should be possible.
Probably could even just be done with a Ruby device rather than a C++ one.
Got a few things at a higher priority at the moment - but someone else(you?) might be willing to give it a try.



  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Control XBMC via HTTPAPI ?
« Reply #2 on: September 12, 2007, 02:01:32 pm »
It seems it should be done similar way as for Dreambox. It can be controlled via Infrared and via Ethernet as well.
Michael Stepanov,
My setup:
Russian LinuxMCE community:


  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Control XBMC via HTTPAPI ?
« Reply #3 on: November 07, 2007, 01:26:49 am »
I've taken a brief look into this as I have XBMC installed here, seems to me there are 2 (minor) issues. 

1. XBMC mangles filenames with a colon ':' in them, these are by default used in links to NAS storage for example.  No big deal as these can be renamed in the web admin.

2. The only way I could find to set the position of the playing file is in percentages, which I suspect will be way to crude for the "follow me" functionality.

Simple wgets could even be used to control it, for example getting and setting the volume:
Code: [Select]
# wget -q -O - 'http://xbox/xbmcCmds/xbmcHttp?command=GetVolume'
# wget -q -O - 'http://xbox/xbmcCmds/xbmcHttp?command=SetVolume&parameter=50'

Just in case you're wondering: yes, I have added an entry for "xbox" in my /etc/hosts file. ;)  I think this would make a very nice orbiter-less media director.
"Change is inevitable. Progress is optional."
-- Anonymous