2010-09-28, 15:26
I want to program a php front end to control my XBMC machine. Can anyone here provide me with an example on how to start on this? I tried to capture the result of the GetShares but the array doesn't look very nice. Anyone here knows how to do this so I can use functions like explode and trim.
Code:
<?php
$array = file_get_contents('http://localhost:9019/xbmcCmds/xbmcHttp?command=GetShares(video)');
echo $array;
?>