If I issue the following HTTP API command:
GET /xbmcCmds/xbmcHttp?command=PlayFile(%2Fusers%2Fmagnus%2Fpublic%2Fmovies%2Fred%20dawn%20%281984%29%2Fvideo_ts%2Fvideo_ts.ifo) HTTP/1.1
I get the following return:
HTTP/1.0 200 OK<br />
Server: GoAhead-Webs<br />
Pragma: no-cache<br />
Cache-control: no-cache<br />
Content-Type: text/html<br />
<br />
<html><br />
<li>Error:Could not play file</html>
Yet, it plays the file fine. Normally I wouldn't care, but aside from curiosity getting the best of me, my program currently parses the return string looking for an "OK" in order to continue logic processing.
Am I doing something wrong here?